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


IESRIShape.AttachToESRIShape Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IESRIShape.AttachToESRIShape Method

Takes ownership of the input Esri shapefile format buffer. The geometry must be deleted, set to empty, edited, or imported from/attached to a different buffer before the buffer can be re-used.

[Visual Basic .NET]
Public Sub AttachToESRIShape ( _
    ByRef byteCountInOut As Integer, _
    ByRef byteBuffer As Byte& _
)
[C#]
public void AttachToESRIShape (
    ref int byteCountInOut,
    ref Byte& byteBuffer
);
[C++]
HRESULT AttachToESRIShape(
  long* byteCountInOut,
  Byte* byteBuffer
);
[C++]

Parameters byteCountInOut [in, out] byteCountInOut is a parameter of type long byteBuffer [in] byteBuffer is a parameter of type Byte

Product Availability

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

See Also

IESRIShape Interface