'Declaration
Public Function GetCurrentValueOrCreate(Of T As {New})( _ ByVal propertyName As System.String _ ) As T
'Usage
Dim instance As PropertyValueCollection Dim propertyName As System.String Dim value As T value = instance.GetCurrentValueOrCreate(Of T)(propertyName)
public T GetCurrentValueOrCreate<T>( System.string propertyName ) where T: new()
Parameters
- propertyName
- The name of the property
Type Parameters
- T