| Visual Basic (Usage) | Copy Code |
|---|---|
Dim property As PropertyState(Of T) Dim value As T value = BaseVariableState.GetValue(Of T)(property) | |
| C# | |
|---|---|
public static T GetValue<T>( PropertyState<T> property ) | |
Parameters
- property
- The property.
Type Parameters
- T
- The type of value contained in the property.
Return Value
The value. The default value for the datatype if the property is null.Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2015, .NET4.x