FontsAndColorsItems 인터페이스

항목의 색, 모양 및 기타 특성을 정의하는 ColorableItems 개체를 포함합니다.

네임스페이스:  EnvDTE
어셈블리:  EnvDTE(EnvDTE.dll)

구문

‘선언
<GuidAttribute("F25AE7E6-1460-4BA4-8E5E-BBBE746DE353")> _
Public Interface FontsAndColorsItems _
    Inherits IEnumerable
[GuidAttribute("F25AE7E6-1460-4BA4-8E5E-BBBE746DE353")]
public interface FontsAndColorsItems : IEnumerable
[GuidAttribute(L"F25AE7E6-1460-4BA4-8E5E-BBBE746DE353")]
public interface class FontsAndColorsItems : IEnumerable
[<GuidAttribute("F25AE7E6-1460-4BA4-8E5E-BBBE746DE353")>]
type FontsAndColorsItems =  
    interface
        interface IEnumerable
    end
public interface FontsAndColorsItems extends IEnumerable

FontsAndColorsItems 형식에서는 다음과 같은 멤버를 노출합니다.

속성

  이름 설명
Public 속성 Count FontsAndColorsItems 컬렉션의 개체 수를 나타내는 값을 가져옵니다.

위쪽

메서드

  이름 설명
Public 메서드 GetEnumerator() 컬렉션을 반복하는 열거자를 반환합니다. (IEnumerable에서 상속됨)
Public 메서드 GetEnumerator() 컬렉션의 항목에 대한 열거자를 가져옵니다.
Public 메서드 Item FontsAndColorsItems 컬렉션의 ColorableItems 개체를 반환합니다.

위쪽

예제

Sub FontsAndColorsItemsExample()
   Dim props As EnvDTE.Properties
   props = DTE.Properties("FontsAndColors", "TextEditor")
   Dim prop As EnvDTE.Property = props.Item("FontsAndColorsItems")
   Dim clritems As EnvDTE.FontsAndColorsItems = prop.Object
   Dim clritem As EnvDTE.ColorableItems
   Dim ClrList As String
   For Each clritem In clritems
      ClrList += clritem.Name + " (" + clritem.Foreground.ToString() + ")"
      ClrList += Chr(13) & Chr(10)
   Next
   MsgBox(ClrList)
End Sub

참고 항목

참조

EnvDTE 네임스페이스