ProtectedViewWindow.SourcePath Property

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
ReadOnly Property SourcePath As String
    Get
'Usage
Dim instance As ProtectedViewWindow
Dim value As String

value = instance.SourcePath
string SourcePath { get; }

Property Value

Type: System.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 PathSeparator() property to add the character that separates folders and drive letters. Use the SourceName property to return the file name without the path.

See Also

Reference

ProtectedViewWindow Interface

ProtectedViewWindow Members

Microsoft.Office.Interop.Word Namespace