DocData.SetFileName Method
Initializes or changes the file name for the document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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: System.StringThe new file name for the document.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.