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 given text view role is a member of the set.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaration
Function Contains ( _
textViewRole As String _
) As Boolean
bool Contains(
string textViewRole
)
bool Contains(
String^ textViewRole
)
abstract Contains :
textViewRole:string -> bool
function Contains(
textViewRole : String
) : boolean
Parameters
- textViewRole
Type: System.String
The role.
Return Value
Type: System.Boolean
true if the given text view role is a member of the set, otherwise false.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | textViewRole is nulla null reference (Nothing in Visual Basic). |
.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.