Saves the document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
Protected MustOverride Sub Save ( _
fileName As String _
)
'使用
Dim fileName As String
Me.Save(fileName)
protected abstract void Save(
string fileName
)
protected:
virtual void Save(
String^ fileName
) abstract
protected abstract function Save(
fileName : String
)
Parameters
fileName
Type: System.StringThe file name of the document.
Remarks
This method implements the IPersistFileFormat interface.
Permissions
- 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.