ProtectedViewWindow.SourcePath Property

Definition

Gets the path of the source file for the specified protected view window.

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

Property Value

String

The path of the source file for the specified protected view window.

Remarks

Read-only string. The path does not include a trailing character (for example, "C:\MSOffice"). Use the Microsoft.Office.Interop.Word.ProtectedViewWindow.PathSeparator property to add the character that separates folders and drive letters. Use the SourceName property to return the file name without the path.

Applies to