Interface FontsAndColorsItems
Contém objetos ColorableItems que Definir a cor, aparência e outros atributos de itens.
Namespace: EnvDTE
Assembly: EnvDTE (em EnvDTE. dll)
Sintaxe
<GuidAttribute("F25AE7E6-1460-4BA4-8E5E-BBBE746DE353")> _
Public Interface FontsAndColorsItems _
Inherits IEnumerable
Dim instance As FontsAndColorsItems
[GuidAttribute("F25AE7E6-1460-4BA4-8E5E-BBBE746DE353")]
public interface FontsAndColorsItems : IEnumerable
[GuidAttribute(L"F25AE7E6-1460-4BA4-8E5E-BBBE746DE353")]
public interface class FontsAndColorsItems : IEnumerable
public interface FontsAndColorsItems extends IEnumerable
Exemplos
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