Freigeben über


ProjectUsingTaskParameterElement Class

Definition

UsingTaskParameterElement class represents the Parameter element in the MSBuild project.

public ref class ProjectUsingTaskParameterElement : Microsoft::Build::Construction::ProjectElement
public class ProjectUsingTaskParameterElement : Microsoft.Build.Construction.ProjectElement
type ProjectUsingTaskParameterElement = class
    inherit ProjectElement
Public Class ProjectUsingTaskParameterElement
Inherits ProjectElement
Inheritance
ProjectUsingTaskParameterElement

Properties

AllParents

All parent elements of this element, going up to the ProjectRootElement. None if this itself is a ProjectRootElement. None if this itself has not been attached to a parent yet.

(Inherited from ProjectElement)
Condition

Condition should never be set, but the getter returns null instead of throwing because a nonexistent condition is implicitly true

ConditionLocation

This does not allow conditions, so it should not be called.

ConditionLocation

Location of the "Condition" attribute on this element, if any. If there is no such attribute, returns null.

(Inherited from ProjectElement)
ContainingProject

ProjectRootElement (possibly imported) that contains this Xml. Cannot be null.

(Inherited from ProjectElement)
ElementName

Gets the name of the associated element. Useful for display in some circumstances.

(Inherited from ProjectElement)
Label

Gets or sets the Label value. Returns empty string if it is not present. Removes the attribute if the value to set is empty.

(Inherited from ProjectElement)
LabelLocation

Location of the "Label" attribute on this element, if any. If there is no such attribute, returns null;

(Inherited from ProjectElement)
Location

Location of the corresponding Xml element. May not be correct if file is not saved, or file has been edited since it was last saved. In the case of an unsaved edit, the location only contains the path to the file that the element originates from.

(Inherited from ProjectElement)
Name

Gets and sets the name of the parameter's name

NextSibling

Next sibling element. May be null.

(Inherited from ProjectElement)
OuterElement

The outer markup associated with this project element.

(Inherited from ProjectElement)
Output

Gets or sets the output attribute

OutputLocation

Location of the Output attribute. If there is no such attribute, returns the location of the element, in lieu of the default value it uses for the attribute.

ParameterType

Gets or sets the Type attribute returns "System.String" if not set. If null or empty is set the attribute will be removed from the element.

ParameterTypeLocation

Location of the Type attribute. If there is no such attribute, returns the location of the element, in lieu of the default value it uses for the attribute.

Parent

Null if this is a ProjectRootElement. Null if this has not been attached to a parent yet.

(Inherited from ProjectElement)
PreviousSibling

Previous sibling element. May be null.

(Inherited from ProjectElement)
Required

Gets or sets the required attribute

RequiredLocation

Location of the Required attribute. If there is no such attribute, returns the location of the element, in lieu of the default value it uses for the attribute.

Methods

Clone()

Returns a shallow clone of this project element.

(Inherited from ProjectElement)
Clone(ProjectRootElement)

Returns a shallow clone of this project element.

(Inherited from ProjectElement)
CopyFrom(ProjectElement)

Applies properties from the specified type to this instance.

(Inherited from ProjectElement)
CreateNewInstance(ProjectRootElement)

Returns a new instance of this same type. Any properties that cannot be set after creation should be set to copies of values as set for this instance.

CreateNewInstance(ProjectRootElement)

Returns a new instance of this same type. Any properties that cannot be set after creation should be set to copies of values as set for this instance.

(Inherited from ProjectElement)
ShouldCloneXmlAttribute(XmlAttribute)

Hook for subclasses to specify whether the given attribute should be cloned or not

(Inherited from ProjectElement)

Applies to