ITextViewRoleSet Interface
Set of text view roles.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Declaração
Public Interface ITextViewRoleSet _
Inherits IEnumerable(Of String), IEnumerable
public interface ITextViewRoleSet : IEnumerable<string>,
IEnumerable
public interface class ITextViewRoleSet : IEnumerable<String^>,
IEnumerable
type ITextViewRoleSet =
interface
interface IEnumerable<string>
interface IEnumerable
end
public interface ITextViewRoleSet extends IEnumerable<String>, IEnumerable
The ITextViewRoleSet type exposes the following members.
Methods
Name | Description | |
---|---|---|
Contains | Determines whether the given text view role is a member of the set. | |
ContainsAll | Determines whether the set contains all of the given text view roles. | |
ContainsAny | Determines whether the set contains at least one of the given text view roles. | |
GetEnumerator() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<String>.) | |
GetEnumerator() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
UnionWith | Gets the union of the set and another text view role set. |
Top
Remarks
For more information about text view roles, see the "Extending Adornments" section of Editor Extension Points.