다음을 통해 공유


ITextViewRoleSet.ContainsAll Method

Determines whether the set contains all of the given text view roles.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

‘선언
Function ContainsAll ( _
    textViewRoles As IEnumerable(Of String) _
) As Boolean
bool ContainsAll(
    IEnumerable<string> textViewRoles
)
bool ContainsAll(
    IEnumerable<String^>^ textViewRoles
)
abstract ContainsAll : 
        textViewRoles:IEnumerable<string> -> bool 
function ContainsAll(
    textViewRoles : IEnumerable<String>
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the set contains all of the given text view roles, otherwise false.

Exceptions

Exception Condition
ArgumentNullException

if textViewRoles is nulla null reference (Nothing in Visual Basic).

Remarks

Returns true if textViewRoles contains no roles. Null values in textViewRoles are ignored.

.NET Framework Security

See Also

Reference

ITextViewRoleSet Interface

Microsoft.VisualStudio.Text.Editor Namespace