Condividi tramite


Argument Class

Definition

Represents an argument to a BaseProperty.

public ref class Argument sealed : System::ComponentModel::ISupportInitialize
public sealed class Argument : System.ComponentModel.ISupportInitialize
type Argument = class
    interface ISupportInitialize
Public NotInheritable Class Argument
Implements ISupportInitialize
Inheritance
Argument
Implements

Remarks

Functionally, it is simply a reference to another BaseProperty. Those who manually instantiate this class should remember to call BeginInit() before setting the first property and EndInit() after setting the last property of the object.

Constructors

Argument()

Default constructor needed for XAML deserialization.

Properties

IsRequired

Tells if the BaseProperty pointed to by Property must be defined for the definition of the BaseProperty owning this argument to make sense.

Property

Name of the BaseProperty this argument refers to.

Separator

The string used to separate this argument value from the parent BaseProperty switch in the command line.

Methods

BeginInit()

See ISupportInitialize.

EndInit()

See ISupportInitialize.

Applies to