共用方式為


AttributedTextExtensions.Optimize(IAttributedText) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Graphics::Text::IAttributedText ^ Optimize(Microsoft::Maui::Graphics::Text::IAttributedText ^ attributedText);
public static Microsoft.Maui.Graphics.Text.IAttributedText Optimize (this Microsoft.Maui.Graphics.Text.IAttributedText attributedText);
static member Optimize : Microsoft.Maui.Graphics.Text.IAttributedText -> Microsoft.Maui.Graphics.Text.IAttributedText
<Extension()>
Public Function Optimize (attributedText As IAttributedText) As IAttributedText

Parameters

attributedText
IAttributedText

Returns

Applies to