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


IESRIShape.ExportToESRIShapeEx Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

IESRIShape.ExportToESRIShapeEx Method

Writes an Esri shapefile formatted version of this geometry to the specified buffer. Only exports attributes specified by modifiersToAllow (combination of esriShapeExportFlags values.). Returns the exact number of bytes written to the buffer.

[Visual Basic .NET]
Public Sub ExportToESRIShapeEx ( _
    ByVal modifiersToAllow As Integer, _
    ByVal useArcViewNaNs As Boolean, _
    ByRef byteCountInOut As Integer, _
    ByRef byteBuffer As Byte& _
)
[C#]
public void ExportToESRIShapeEx (
    int modifiersToAllow,
    bool useArcViewNaNs,
    ref int byteCountInOut,
    ref Byte& byteBuffer
);
[C++]
HRESULT ExportToESRIShapeEx(
  long modifiersToAllow,
  VARIANT_BOOL useArcViewNaNs,
  long* byteCountInOut,
  Byte* byteBuffer
);
[C++]

Parameters modifiersToAllow modifiersToAllow is a parameter of type long useArcViewNaNs useArcViewNaNs is a parameter of type VARIANT_BOOL 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.

See Also

IESRIShape Interface