'Declaration
Public Function GetEnumOrDefault(Of T)( _ ByVal enumType As System.Type, _ ByVal propertyName As System.String, _ ByVal defaultValue As T _ ) As T
'Usage
Dim instance As PropertyValueCollection Dim enumType As System.Type Dim propertyName As System.String Dim defaultValue As T Dim value As T value = instance.GetEnumOrDefault(Of T)(enumType, propertyName, defaultValue)
public T GetEnumOrDefault<T>( System.Type enumType, System.string propertyName, T defaultValue )
Parameters
- enumType
- propertyName
- defaultValue
Type Parameters
- T