DataEntity GetProperty Method (DataEntity, String, Int32)
This method will attempt to get a property from the passed in DataEntity based on the passed in propertyPath.
Namespace:
Scribe.Core.ConnectorApi
Assembly:
Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)
Syntax
public static Object GetProperty( DataEntity dataEntity, string propertyPath, int childIndex = 0 )
Parameters
dataEntity
Type: Scribe.Core.ConnectorApi DataEntity
This parameter references the DataEntity that may hold the property information.
propertyPath
Type: System String
This parameter references the path to the property which can include walking through child objects.
childIndex (Optional)
Type: System Int32
This optional parameter holds the index position into child property values.
Return Value
Type: Object
This returns the property from the passed in DataEntity based on the passed in propertyPath or null.
See