This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IESRIShape2 Interface > IESRIShape2.ExportToESRIShapeEx2 Method (ArcObjects .NET 10.4 SDK) |
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,
long* byteCountInOut,
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 Byte
Note: exportFlags is a combination of esriShapeExportFlags values.