Share via


ProtectedViewWindow.SourceName Property

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

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

Syntax

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

value = instance.SourceName
string SourceName { get; }

Property Value

Type: System.String
The name of the source file that is open in the specified Protected View window.

Remarks

Read-only.

See Also

Reference

ProtectedViewWindow Interface

ProtectedViewWindow Members

Microsoft.Office.Interop.Excel Namespace