Freigeben über


ITextViewRoleSet.Contains(String) Method

Definition

Compute whether the given text view role is a member of the set.

public:
 bool Contains(System::String ^ textViewRole);
public:
 bool Contains(Platform::String ^ textViewRole);
bool Contains(std::wstring const & textViewRole);
public bool Contains (string textViewRole);
abstract member Contains : string -> bool
Public Function Contains (textViewRole As String) As Boolean

Parameters

textViewRole
String

The role.

Returns

true if the given text view role is a member of the set, otherwise false.

Exceptions

textViewRole is null.

Applies to