This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpDescribeGeometry Interface > IGpDescribeGeometry.GetPart Method (ArcObjects .NET 10.5 SDK) |
Returns the part of the geometry object at the specified index.
[Visual Basic .NET] Public Function GetPart ( _ [ByRef part As Object] _ ) As Object
[C#] public object GetPart ( ref object part );
Optional Values
[C++]
HRESULT GetPart(
VARIANT* part,
IDispatch** Points
);
[C++]
Parameters part [optional] part is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND. Points [out, retval] Points is a parameter of type IDispatch*