DataEntity SetProperty Method

This method will attempt to set a property value to a DataEntity based on the passed in property path and child index.

Namespace:  Scribe.Core.ConnectorApi

Assembly:  Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)

Syntax

public   static   void   SetProperty(
	DataEntity   dataEntity,
	string   propertyPath,
	Object   propertyValue,
	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.

propertyValue

Type: System Object

This parameter references the value to assign to the property.

childIndex (Optional)

Type: System Int32

This optional parameter holds the index position into child property values.

See

DataEntity Class

Scribe.Core.ConnectorApi Namespace