DocData.SetFileName Method

Initializes or changes the file name for the document.

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

Syntax

'Declaration
Protected Sub SetFileName ( _
    fileName As String _
)
protected void SetFileName(
    string fileName
)
protected:
void SetFileName(
    String^ fileName
)
member SetFileName : 
        fileName:string -> unit
protected function SetFileName(
    fileName : String
)

Parameters

  • fileName
    Type: String

    The new file name for the document.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace