This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IESRIShape Interface > IESRIShape.AttachToESRIShape Method (ArcObjects .NET 10.5 SDK) |
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