Editar

Compartilhar via


XamlLanguage.Arguments Property

Definition

Gets a XamlDirective for the Arguments of a factory method or a generic usage.

public:
 static property System::Xaml::XamlDirective ^ Arguments { System::Xaml::XamlDirective ^ get(); };
public static System.Xaml.XamlDirective Arguments { get; }
static member Arguments : System.Xaml.XamlDirective
Public Shared ReadOnly Property Arguments As XamlDirective

Property Value

A XamlDirective for the Arguments of a factory method or generic usage.

Remarks

A factory method is a XAML 2009 feature for identifying an alternative technique that constructs the underlying type for a XAML type. The Arguments specify the input of a factory method and enable specifying that information in markup. The default techniques, in absence of a factory method, are to attempt to find a parameterless constructor and then attempt to find an identified type converter for type, member, or destination type.

For the generic usage, the Arguments wrap the objects or initialization text of all construction inputs that are specified as necessary for the TypeArguments.

Applies to