Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Saves 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
'Declaration
Public Function Save ( _
fileName As String, _
remember As Integer, _
formatIndex As UInteger _
) As Integer
public int Save(
string fileName,
int remember,
uint formatIndex
)
public:
virtual int Save(
String^ fileName,
int remember,
unsigned int formatIndex
) sealed
abstract Save :
fileName:string *
remember:int *
formatIndex:uint32 -> int
override Save :
fileName:string *
remember:int *
formatIndex:uint32 -> int
public final function Save(
fileName : String,
remember : int,
formatIndex : uint
) : int
Parameters
- fileName
Type: System.String
The file name of the document.
- remember
Type: System.Int32
1 to retain the file name as the name of the document; otherwise, 0.
- formatIndex
Type: System.UInt32
Currently not implemented.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, E_ABORT.
Implements
IPersistFileFormat.Save(String, Int32, UInt32)
Remarks
This method implements the IPersistFileFormat interface.
.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.