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


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

IESRIShape2.ExportToESRIShapeEx2 Method

Writes an Esri shapefile formatted version of this geometry to the specified buffer. Returns the exact number of bytes written to the buffer. exportFlags is a combination of esriShapeExportFlags values.

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

exportFlags is a parameter of type long 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.

Remarks

Note: exportFlags is a combination of esriShapeExportFlags values.

See Also

IESRIShape2 Interface