Argument Class
Represents an argument to a BaseProperty.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Inheritance Hierarchy
System.Object
Microsoft.Build.Framework.XamlTypes.Argument
Namespace: Microsoft.Build.Framework.XamlTypes
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
Syntax
'Declaration
Public NotInheritable Class Argument _
Implements ISupportInitialize
public sealed class Argument : ISupportInitialize
public ref class Argument sealed : ISupportInitialize
[<Sealed>]
type Argument =
class
interface ISupportInitialize
end
public final class Argument implements ISupportInitialize
The Argument type exposes the following members.
Constructors
Name | Description | |
---|---|---|
Argument | Default constructor required for XAML deserialization.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
Top
Properties
Name | Description | |
---|---|---|
IsRequired | Indicates whether the BaseProperty pointed to by Property must be defined so that the definition of the BaseProperty that owns this argument makes sense.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
Property | Gets or sets the name of the BaseProperty that this argument refers to.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
Separator | Gets or sets the string used to separate the argument value from the parent BaseProperty switch in the command line.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
Top
Methods
Name | Description | |
---|---|---|
BeginInit | See BeginInit.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
EndInit | See EndInit.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Remarks
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.