Método IVsPersistDocData2.SetDocDataReadOnly (Int32)

 

Publicado: abril de 2016

Define o sinalizador somente leitura true.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (em Microsoft.VisualStudio.Shell.Interop.dll)

Sintaxe

int SetDocDataReadOnly(
    int fReadOnly
)
int SetDocDataReadOnly(
    int fReadOnly
)
abstract SetDocDataReadOnly : 
        fReadOnly:int -> int
Function SetDocDataReadOnly (
    fReadOnly As Integer
) As Integer

Parâmetros

  • fReadOnly
    Type: System.Int32

    [in] Sinalizador que indica somente leitura.

Valor de retorno

Type: System.Int32

Se o método for bem-sucedido, ele retornará S_OK. Se ele falhar, ele retorna um código de erro.

Comentários

COM assinatura

De vsshell.idl:

HRESULT IVsPersistDocData2::SetDocDataReadOnly(
   [in] BOOL fReadOnly
);

Consulte também

Interface IVsPersistDocData2
Namespace Microsoft.VisualStudio.Shell.Interop

Retornar ao topo