NullEdmComplexObject.TryGetPropertyValue(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.