This documentation is archived and is not being maintained.
Argument Class
Visual Studio 2010
Represents an argument to a BaseProperty.
Assembly: Microsoft.Build.Framework (in Microsoft.Build.Framework.dll)
The Argument type exposes the following members.
| 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. |
![]() | Property | Gets or sets the name of the BaseProperty that this argument refers to. |
![]() | Separator | Gets or sets the string used to separate the argument value from the parent BaseProperty switch in the command line. |
| Name | Description | |
|---|---|---|
![]() | BeginInit | See BeginInit. |
![]() | EndInit | See EndInit. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
