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


IESRIShape.ExportToESRIShapeEx 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.ExportToESRIShapeEx Method
ArcGIS Developer Help

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,
  System.Int32* byteCountInOut,
  System.Byte* byteBuffer
);
[C++]
Parameters
modifiersToAllow 

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