Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Saves the document.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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: StringThe file name of the document.
remember
Type: Int321 to retain the file name as the name of the document; otherwise, 0.
formatIndex
Type: UInt32Currently not implemented.
Return Value
Type: 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.