This document is archived and information here might be outdated.  Recommended version.


IGpDescribeGeometry.GetPart Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpDescribeGeometry.GetPart Method

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
);
[C#]

Optional Values

part   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGpDescribeGeometry Interface