Aracılığıyla paylaş


IVsPersistDocData2.IsDocDataReadOnly Yöntem (Int32)

 

Belge verileri salt okunur olup olmadığını belirler.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

int IsDocDataReadOnly(
    out int pfReadOnly
)
int IsDocDataReadOnly(
    [OutAttribute] int% pfReadOnly
)
abstract IsDocDataReadOnly : 
        pfReadOnly:int byref -> int
Function IsDocDataReadOnly (
    <OutAttribute> ByRef pfReadOnly As Integer
) As Integer

Parametreler

  • pfReadOnly
    [Çıkış] Gösteren bir bayrak için işaretçiyi salt okunur.

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, verir S_OK.Başarısız olursa, bir hata kodu döndürür.

Notlar

com imzası

Vsshell.idl:

HRESULT IVsPersistDocData2::IsDocDataReadOnly(
   [out] BOOL *pfReadOnly
);

Ayrıca bkz.

IVsPersistDocData2 Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön