Partager via


DocData.Save, méthode (String, Int32, UInt32)

Enregistre le document.

Espace de noms :  Microsoft.VisualStudio.Modeling.Shell
Assembly :  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (dans Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntaxe

'Déclaration
Public Function Save ( _
    fileName As String, _
    remember As Integer, _
    formatIndex As UInteger _
) As Integer
public int Save(
    string fileName,
    int remember,
    uint formatIndex
)

Paramètres

  • remember
    Type : System.Int32
    1 pour conserver le nom de fichier comme nom du document ; sinon, 0.
  • formatIndex
    Type : System.UInt32
    Actuellement non implémenté.

Valeur de retour

Type : System.Int32
Si la méthode réussit, elle retourne S_OK.S'il échoue, E_ABORT.

Implémentations

IPersistFileFormat.Save(String, Int32, UInt32)

Notes

Cette méthode implémente l'interface IPersistFileFormat.

Sécurité .NET Framework

Voir aussi

Référence

DocData Classe

Save, surcharge

Microsoft.VisualStudio.Modeling.Shell, espace de noms