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


IPRJSpatialReferenceGEN.ImportSpatialReferenceFromPRJ Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IPRJSpatialReferenceGEN.ImportSpatialReferenceFromPRJ Method

Defines the spatial reference from the specified ESRISpatialReference buffer.

[Visual Basic .NET]
Public Sub ImportSpatialReferenceFromPRJ ( _
    ByVal str As String, _
    ByRef cBytesRead As Integer _
)
[C#]
public void ImportSpatialReferenceFromPRJ (
    string str,
    ref int cBytesRead
);
[C++]
HRESULT ImportSpatialReferenceFromPRJ(
  BSTR str,
  long* 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

IPRJSpatialReferenceGEN Interface