PartDataRecordGetDataFieldBy(PartContextType, Int32) Method

Gets the object of DataField by Context and index.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public PartDataField GetDataFieldBy(
	PartContextType context,
	int index
)

Parameters

context  PartContextType
The part context type to get.
index  Int32
The index of the PartDataField to get.

Return Value

PartDataField
Example
This gets the first PartDataField of type StructHeight:
C#
1retVal = oPartDataRecord.GetDataFieldBy(PartContextType.StructHeight, 0);
See Also