Freigeben über


DocData.IsDocDataReadOnly-Methode

Überprüft, ob das Dokument schreibgeschützt ist.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

Syntax

'Declaration
Public Function IsDocDataReadOnly ( _
    <OutAttribute> ByRef isReadOnly As Integer _
) As Integer
public int IsDocDataReadOnly(
    out int isReadOnly
)

Parameter

  • isReadOnly
    Typ: System.Int32%
    1, wenn das Dokument schreibgeschützt ist, andernfalls 0.

Rückgabewert

Typ: System.Int32
S_OK, wenn die Methode erfolgreich ausgeführt wird, andernfalls wird ein Fehlercode zurückgegeben.

Implementiert

IVsPersistDocData2.IsDocDataReadOnly(Int32%)

Hinweise

Diese Methode implementiert die IVsPersistDocData2-Schnittstelle.

.NET Framework-Sicherheit

Siehe auch

Referenz

DocData Klasse

Microsoft.VisualStudio.Modeling.Shell-Namespace