Returns the font attributes for this colorable item.
Namespace: Microsoft.VisualStudio.Package
Assembly: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Syntax
'宣言
Public Overridable Function GetDefaultFontFlags ( _
<OutAttribute> ByRef fontFlags As UInteger _
) As Integer
'使用
Dim instance As ColorableItem
Dim fontFlags As UInteger
Dim returnValue As Integer
returnValue = instance.GetDefaultFontFlags(fontFlags)
public virtual int GetDefaultFontFlags(
out uint fontFlags
)
public:
virtual int GetDefaultFontFlags(
[OutAttribute] unsigned int% fontFlags
)
public function GetDefaultFontFlags(
fontFlags : uint
) : int
Parameters
fontFlags
Type: System.UInt32%[out] The set of flags from the FONTFLAGS enumeration.
Return Value
Type: System.Int32
If successful, returns S_OK; otherwise, returns an error code.
Implements
IVsColorableItem.GetDefaultFontFlags(UInt32%)
Remarks
The flags returned are those passed to the constructor.
The base method always returns S_OK.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.