Sdílet prostřednictvím


ProjectElementLink Class

Definition

External projects support. Allow for creating a local representation to external construction objects derived from ProjectElement

public ref class ProjectElementLink abstract
public abstract class ProjectElementLink
type ProjectElementLink = class
Public MustInherit Class ProjectElementLink
Inheritance
ProjectElementLink
Derived

Constructors

ProjectElementLink()

Properties

Attributes

Supports CopyFrom(ProjectElement).

ContainingProject

Access to remote ContainingProject.

ElementName

Access to remote ElementName.

ExpressedAsAttribute

Access to remote Microsoft.Build.Construction.ProjectElement.ExpressedAsAttribute.

Location

Access to remote Location.

NextSibling

Access to remote NextSibling.

OuterElement

Access to remote OuterElement.

Parent

Access to remote Parent.

PreviousSibling

Access to remote PreviousSibling.

PureText

Supports CopyFrom(ProjectElement). return raw xml content of the element if it has exactly 1 text child

Methods

CopyFrom(ProjectElement)

Facilitate remoting to remote CopyFrom(ProjectElement).

CreateNewInstance(ProjectElement, ProjectRootElement)
CreateNewInstance(ProjectRootElement)

Facilitate remoting to remote CreateNewInstance(ProjectRootElement).

GetAttributeLocation(ProjectElement, String)
GetAttributeLocation(String)

Required to implement Attribute access for remote element.

GetAttributes(ProjectElement)
GetAttributeValue(ProjectElement, String, Boolean)
GetAttributeValue(String, Boolean)

Required to implement Attribute access for remote element.

GetExpressedAsAttribute(ProjectElement)

Utility function for ExternalProjects provider

GetPureText(ProjectElement)
MarkDirty(ProjectElement, String, String)
SetExpressedAsAttribute(ProjectElement, Boolean)
SetOrRemoveAttribute(ProjectElement, String, String, Boolean, String, String)
SetOrRemoveAttribute(String, String, Boolean, String, String)

Required to implement Attribute access for remote element.

Applies to