ArcObjects Library Reference (Geometry)  

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,
  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

Product Availability

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

Remarks

Note: exportFlags is a combination of esriShapeExportFlags values.

See Also

IESRIShape2 Interface