ProtectedViewWindow.SourcePath Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.