ITextViewRoleSet 介面
文字檢視角色的集合。
命名空間: Microsoft.VisualStudio.Text.Editor
組件: Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)
語法
'宣告
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
ITextViewRoleSet 類型會公開下列成員。
方法
名稱 | 描述 | |
---|---|---|
![]() |
Contains | 判斷指定的文字檢視角色是否為集合的成員。 |
![]() |
ContainsAll | 判斷集合是否包含所有指定的文字檢視角色。 |
![]() |
ContainsAny | 判斷集合是否包含至少其中一個指定的文字檢視角色。 |
![]() |
GetEnumerator | 傳回逐一查看集合的列舉值。 (繼承自 IEnumerable<String>)。 |
![]() |
UnionWith | 取得一組及其他文字檢視角色集合的聯集。 |
回頁首
備註
如需有關文字檢視角色的詳細資訊,請參閱 「 擴充裝飾 」 一節編輯器的擴充點。