DocData.SetFileName Method

Initializes or changes the file name for the document.

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

Syntax

'宣言
Protected Sub SetFileName ( _
    fileName As String _
)
'使用
Dim fileName As String

Me.SetFileName(fileName)
protected void SetFileName(
    string fileName
)
protected:
void SetFileName(
    String^ fileName
)
protected function SetFileName(
    fileName : String
)

Parameters

  • fileName
    Type: System.String

    The new file name for the document.

Permissions

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Modeling.Shell Namespace