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


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

IESRIShape.ImportFromESRIShape Method

Defines this geometry from the input Esri shapefile formatted buffer. Assumes the buffer describes a topologically correct geometry. Returns the exact number of bytes read from the buffer.

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

byteCountInOut is a parameter of type long* byteBuffer [in]
byteBuffer is a parameter of type unsigned char*

Product Availability

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

See Also

IESRIShape Interface