Export (0) Print
Expand All

Argument Class

Represents an argument to a BaseProperty.

System.Object
  Microsoft.Build.Framework.XamlTypes.Argument

Namespace:  Microsoft.Build.Framework.XamlTypes
Assembly:  Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)

public sealed class Argument : ISupportInitialize

The Argument type exposes the following members.

  NameDescription
Public methodArgumentDefault constructor required for XAML deserialization.
Top

  NameDescription
Public propertyIsRequiredIndicates whether the BaseProperty pointed to by Property must be defined so that the definition of the BaseProperty that owns this argument makes sense.
Public propertyPropertyGets or sets the name of the BaseProperty that this argument refers to.
Public propertySeparatorGets or sets the string used to separate the argument value from the parent BaseProperty switch in the command line.
Top

  NameDescription
Public methodBeginInitSee BeginInit.
Public methodEndInitSee EndInit.
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Functionally, this is just a reference to another BaseProperty. If you manually instantiate this class, call BeginInit before you set the first property of the object and EndInit after you set the last property.

.NET Framework

Supported in: 4.6, 4.5, 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2015 Microsoft