다음을 통해 공유


IVsTextView3.DoesViewSupportRole 메서드

Determines whether the view supports the specified role.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop.11.0(Microsoft.VisualStudio.TextManager.Interop.11.0.dll)

구문

‘선언
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

매개 변수

  • pszRole
    형식: String

    [in] The specified role.

  • pbContainsRole
    형식: Int32%

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

반환 값

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

.NET Framework 보안

참고 항목

참조

IVsTextView3 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스