共用方式為


DropDownMember.FontAttr Property

Gets or sets the font attributes to use for rendering the entry's text.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'宣告
Public Property FontAttr As DROPDOWNFONTATTR
    Get
    Set
'用途
Dim instance As DropDownMember
Dim value As DROPDOWNFONTATTR

value = instance.FontAttr

instance.FontAttr = value
public DROPDOWNFONTATTR FontAttr { get; set; }
public:
property DROPDOWNFONTATTR FontAttr {
    DROPDOWNFONTATTR get ();
    void set (DROPDOWNFONTATTR value);
}
member FontAttr : DROPDOWNFONTATTR with get, set
function get FontAttr () : DROPDOWNFONTATTR
function set FontAttr (value : DROPDOWNFONTATTR)

Property Value

Type: Microsoft.VisualStudio.TextManager.Interop.DROPDOWNFONTATTR
Flags from the DROPDOWNFONTATTR enumeration.

.NET Framework Security

See Also

Reference

DropDownMember Class

DropDownMember Members

Microsoft.VisualStudio.Package Namespace