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


IESRIShape.ExportToESRIShape Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IESRIShape Interface > IESRIShape.ExportToESRIShape Method
ArcGIS Developer Help

IESRIShape.ExportToESRIShape Method

Writes an Esri shapefile formatted version of this geometry to the specified buffer. Returns the exact number of bytes written to the buffer.

[Visual Basic .NET]
Public Sub ExportToESRIShape ( _
    ByRef byteCountInOut As Integer, _
    ByRef byteBuffer As Byte& _
)
[C#]
public void ExportToESRIShape (
    ref int byteCountInOut,
    ref Byte& byteBuffer
);
[C++]
HRESULT ExportToESRIShape(
  System.Int32* byteCountInOut,
  System.Byte* byteBuffer
);
[C++]
Parameters
byteCountInOut [in, out]

byteCountInOut is a parameter of type long* byteBuffer [out]
byteBuffer is a parameter of type unsigned char*

Product Availability

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

See Also

IESRIShape Interface