ArcObjects Library Reference (System)  

IFileName.Path Property

Pathname to the file.

[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.

Description

The Path to the file. The data specified by the Path does not necessarily have to exist in a directory structure.

Remarks

When using a FileName, the IName::Open method does not function properly, so you need to use whatever programmatic file-access technique is appropriate from your
development environment standpoint.

See Also

IFileName Interface