Udostępnij za pośrednictwem


Metoda DocData.Save — (String, Int32, UInt32)

Zapisuje dokument.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Shell
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Składnia

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

Parametry

  • remember
    Typ: System.Int32
    1, aby zachować nazwy pliku jak nazwa dokumentu; w przeciwnym razie 0.

Wartość zwracana

Typ: System.Int32
Jeśli metoda się powiedzie, zwraca S_OK.Jeśli nie powiedzie się, E_ABORT.

Implementuje

IPersistFileFormat.Save(String, Int32, UInt32)

Uwagi

Ta metoda implementuje IPersistFileFormat interfejsu.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DocData Klasa

Przeciążenie Save

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Shell