ProtectedViewWindow.SourcePath Property

Definition

Gets the path of the source file that is open in the specified Protected View window.

public:
 property System::String ^ SourcePath { System::String ^ get(); };
public string SourcePath { get; }
Public ReadOnly Property SourcePath As String

Property Value

The path of the source file that is open in the specified Protected View window.

Remarks

Read-only.

The path does not include a trailing character (for example, "C:\MSOffice"). Use the PathSeparator property to add the character that separates folders and drive letters. Use the SourceName of the ProtectedViewWindow object to return the source file name without the path.

Applies to