DocData.SetFileName Method

Initializes or changes the file name for 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

'Declaração
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: System.String
    The new file name for the document.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace