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


IGpSpRefObject2.CreateFromFileEx Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpSpRefObject2.CreateFromFileEx Method

Create the spatial reference from a projection file or from coordinate system name and its vertical coordinate system name.

[Visual Basic .NET]
Public Sub CreateFromFileEx ( _
    ByVal prjFile As String, _
    ByVal vcsVar As Object _
)
[C#]
public void CreateFromFileEx (
    string prjFile,
    object vcsVar
);
[C++]
HRESULT CreateFromFileEx(
  BSTR prjFile,
  VARIANT vcsVar
);
[C++]

Parameters prjFile [in] prjFile is a parameter of type BSTR vcsVar [in] vcsVar is a parameter of type VARIANT

Product Availability

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

See Also

IGpSpRefObject2 Interface