Partilhar via


Método IVsTextView3.DoesViewSupportRole

Determines whether the view supports the specified role.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.11.0 (em Microsoft.VisualStudio.TextManager.Interop.11.0.dll)

Sintaxe

'Declaração
Function DoesViewSupportRole ( _
    pszRole As String, _
    <OutAttribute> ByRef pbContainsRole As Integer _
) As Integer
int DoesViewSupportRole(
    string pszRole,
    out int pbContainsRole
)
int DoesViewSupportRole(
    [InAttribute] String^ pszRole, 
    [OutAttribute] int% pbContainsRole
)
abstract DoesViewSupportRole : 
        pszRole:string * 
        pbContainsRole:int byref -> int
function DoesViewSupportRole(
    pszRole : String, 
    pbContainsRole : int
) : int

Parâmetros

  • pszRole
    Tipo: String

    [in] The specified role.

  • pbContainsRole
    Tipo: Int32%

    [out] Value is true if the specified role is supported; otherwise, false.

Valor de retorno

Tipo: Int32
Returns S_OK if the method is successful; otherwise, returns an error code.

Segurança do .NET Framework

Consulte também

Referência

IVsTextView3 Interface

Namespace Microsoft.VisualStudio.TextManager.Interop