This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGpSpRefObject Interface > IGpSpRefObject.CreateFromFile Method (ArcObjects .NET 10.5 SDK) |
Create the spatial reference from a projection file.
[Visual Basic .NET] Public Sub CreateFromFile ( _ ByVal prjFile As String _ )
[C#] public void CreateFromFile ( string prjFile );
[C++]
HRESULT CreateFromFile(
BSTR prjFile
);
[C++]
Parameters prjFile [in] prjFile is a parameter of type BSTR