TextAttributesExtensions.GetIntAttribute Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
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
Параметры
- attributes
- ITextAttributes
- type
- TextAttribute
- defaultValue
- Int32