TextAttributesExtensions.GetIntAttribute Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
public:
[System::Runtime::CompilerServices::Extension]
static int GetIntAttribute(Microsoft::Maui::Graphics::Text::ITextAttributes ^ attributes, Microsoft::Maui::Graphics::Text::TextAttribute type, int defaultValue);
public static int GetIntAttribute (this Microsoft.Maui.Graphics.Text.ITextAttributes attributes, Microsoft.Maui.Graphics.Text.TextAttribute type, int defaultValue);
static member GetIntAttribute : Microsoft.Maui.Graphics.Text.ITextAttributes * Microsoft.Maui.Graphics.Text.TextAttribute * int -> int
<Extension()>
Public Function GetIntAttribute (attributes As ITextAttributes, type As TextAttribute, defaultValue As Integer) As Integer
Parameter
- attributes
- ITextAttributes
- type
- TextAttribute
- defaultValue
- Int32