OpenTypeMethods.GetValue Method
Gets a value from the specified property of a specified object.
Namespace: System.Data.Services.Providers
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
Syntax
'Declaration
Public Shared Function GetValue ( _
value As Object, _
propertyName As String _
) As Object
'Usage
Dim value As Object
Dim propertyName As String
Dim returnValue As Object
returnValue = OpenTypeMethods.GetValue(value, _
propertyName)
public static Object GetValue(
Object value,
string propertyName
)
public:
static Object^ GetValue(
Object^ value,
String^ propertyName
)
static member GetValue :
value:Object *
propertyName:string -> Object
public static function GetValue(
value : Object,
propertyName : String
) : Object
Parameters
- value
Type: System.Object
Object from which to get the property value.
- propertyName
Type: System.String
Name of property from which to get the value.
Return Value
Type: System.Object
The requested value; nulla null reference (Nothing in Visual Basic) if the value cannot be determined.