Share via


Reference.Path Property

Definition

Gets the path to the reference file. Read-only.

public:
 property System::String ^ Path { System::String ^ get(); };
public:
 property Platform::String ^ Path { Platform::String ^ get(); };
[System.Runtime.InteropServices.DispId(8)]
public string Path { [System.Runtime.InteropServices.DispId(8)] get; }
[<System.Runtime.InteropServices.DispId(8)>]
[<get: System.Runtime.InteropServices.DispId(8)>]
member this.Path : string
Public ReadOnly Property Path As String

Property Value

String. This property returns the path and file name of the reference, if it can be resolved. If the path cannot be resolved, then a blank string is returned. For information on resolving references, see Add(String).

Attributes

Examples

See the example in Reference.

Remarks

The path cannot be a UNC or URL.

Applies to