次の方法で共有


ITextViewRoleSet Interface

Set of text view roles.

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

Syntax

'宣言
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
Public method Contains Determines whether the given text view role is a member of the set.
Public method ContainsAll Determines whether the set contains all of the given text view roles.
Public method ContainsAny Determines whether the set contains at least one of the given text view roles.
Public method GetEnumerator() Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<String>.)
Public method GetEnumerator() Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace