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


ILocatorWorkspaceName.Path Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

ILocatorWorkspaceName.Path Property

The path to the folder that contains the locator workspace.

[Visual Basic .NET]
Public Property Path As String
[C#]
public string Path {get; set;}
[C++]
HRESULT get_Path(
  BSTR* Path
);
[C++]
HRESULT put_Path(
  BSTR Path
);
[C++]

Parameters Path [out, retval] Path is a parameter of type BSTR Path [in] Path is a parameter of type BSTR

Product Availability

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

Remarks

If the locator workspace represented by the LocatorWorkspaceName object is a file system locator workspace, then the Path property returns the path to the file system folder that contains the locator workspace. The value returned by the Path property depends on the value returned by the Type property, as shown in the following table:

If the value of the Type property is: then the Path property returns:
esriLocalSystemLocatorWorkspace an empty string
esriFileSystemLocatorWorkspace the path to the file system folder that contains the locator workspace

See Also

ILocatorWorkspaceName Interface