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


IESRISpatialReferenceGEN2.ImportFromESRISpatialReference Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IESRISpatialReferenceGEN2 Interface > IESRISpatialReferenceGEN2.ImportFromESRISpatialReference Method
ArcGIS Developer Help

IESRISpatialReferenceGEN2.ImportFromESRISpatialReference Method

Defines this spatial reference component from the specified ESRISpatialReference buffer.

[Visual Basic .NET]
Public Sub ImportFromESRISpatialReference ( _
    ByVal str As String, _
    ByRef cBytesRead As Integer _
)
[C#]
public void ImportFromESRISpatialReference (
    string str,
    ref int cBytesRead
);
[C++]
HRESULT ImportFromESRISpatialReference(
  BSTR str,
  System.Int32* cBytesRead
);
[C++]
Parameters
str 

str is a parameter of type BSTR cBytesRead [out]
cBytesRead is a parameter of type long*

Product Availability

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

See Also

IESRISpatialReferenceGEN2 Interface