Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether the view supports the specified role.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.11.0 (in Microsoft.VisualStudio.TextManager.Interop.11.0.dll)
Syntax
'Declaration
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
Parameters
pszRole
Type: System.String[in] The specified role.
pbContainsRole
Type: System.Int32%[out] Value is true if the specified role is supported; otherwise, false.
Return Value
Type: System.Int32
Returns S_OK if the method is successful; otherwise, returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.