Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.StringThe 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.