This topic has not yet been rated - Rate this topic

ITextViewRoleSet Interface

Set of text view roles.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
public interface ITextViewRoleSet : IEnumerable<string>, 
	IEnumerable

The ITextViewRoleSet type exposes the following members.

  NameDescription
Public methodContainsDetermines whether the given text view role is a member of the set.
Public methodContainsAllDetermines whether the set contains all of the given text view roles.
Public methodContainsAnyDetermines whether the set contains at least one of the given text view roles.
Public methodGetEnumeratorReturns an enumerator that iterates through the collection. (Inherited from IEnumerable<String>.)
Public methodUnionWithGets the union of the set and another text view role set.
Top

For more information about text view roles, see the "Extending Adornments" section of Editor Extension Points.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.