Share via


NullEdmComplexObject.TryGetPropertyValue(String, Object) Method

Definition

Gets the value of the property with the given name.

public bool TryGetPropertyValue (string propertyName, out object value);
abstract member TryGetPropertyValue : string * obj -> bool
override this.TryGetPropertyValue : string * obj -> bool
Public Function TryGetPropertyValue (propertyName As String, ByRef value As Object) As Boolean

Parameters

propertyName
String

The name of the property to get.

value
Object

When this method returns, contains the value of the property with the given name, if the property is found; otherwise, null. The parameter is passed uninitialized.

Returns

true if the instance contains the property with the given name; otherwise, false.

Implements

Applies to