Represents a project item (usually a file) and allows getting and setting attributes on it.
The ProjectElement type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | Determines if two ProjectElement objects are equal. (Overrides Object.Equals(Object).) |
![]() |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetEvaluatedMetadata | |
![]() |
GetFullPathForElement | Gets the absolute path of the element. |
![]() |
GetHashCode | Serves as a hash function for a ProjectElement, suitable for use in hashing algorithms and data structures like a hash table. (Overrides Object.GetHashCode().) |
![]() |
GetMetadata | Gets the value of an attribute on a project element. |
![]() |
GetMetadataAndThrow | Gets the attribute and throws the exception if the attribute is empty or a null reference (Nothing in Visual Basic). |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
RefreshProperties | Refreshes the properties for the current project item. |
![]() |
RemoveFromProjectFile | Removes this item from the project file. |
![]() |
Rename | Renames the ProjectElement object. |
![]() |
SetMetadata | Sets an attribute on the project element. |
![]() |
ToString | Returns a String that represents the current Object. (Inherited from Object.) |
Top
Operators
| Name | Description | |
|---|---|---|
![]() ![]() |
Equality | Determines if two ProjectElement objects are equal. |
![]() ![]() |
Inequality | Determines if two ProjectElement objects are not equal. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
ItemName | Gets and sets the item name. |
Top
.gif)
.gif)
.gif)
.gif)
.gif)