共用方式為


DocData.FileName Property

Gets the file name of the document.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'宣告
Public ReadOnly Property FileName As String
    Get
public string FileName { get; }
public:
property String^ FileName {
    String^ get ();
}
member FileName : string
function get FileName () : String

Property Value

Type: System.String
The file name of the document.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace