'Declaration
Public Overloads Function GetValueOrDefault( _ ByVal propertyName As System.String, _ ByVal defaultValue As TimeOfDay _ ) As TimeOfDay
'Usage
Dim instance As PropertyValueCollection Dim propertyName As System.String Dim defaultValue As TimeOfDay Dim value As TimeOfDay value = instance.GetValueOrDefault(propertyName, defaultValue)
public TimeOfDay GetValueOrDefault( System.string propertyName, TimeOfDay defaultValue )
Parameters
- propertyName
- The name of the property
- defaultValue
- The value to return if the property name is not found