共用方式為


Effect.Resolve(String) Method

Definition

Returns an Effect for the specified name, which is of the form ResolutionGroupName.ExportEffect.

public:
 static Microsoft::Maui::Controls::Effect ^ Resolve(System::String ^ name);
public static Microsoft.Maui.Controls.Effect Resolve (string name);
static member Resolve : string -> Microsoft.Maui.Controls.Effect
Public Shared Function Resolve (name As String) As Effect

Parameters

name
String

The name of the effect to get.

Returns

The uniquely identified effect.

Remarks

The Resolve(String) method takes a string that is the concatenation of a resolution group name (supplied to ResolutionGroupNameAttribute), '.', and the unique name that was supplied to ExportEffectAttribute, and returns the specified effect.

Applies to