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
'宣告
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
- 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.