ProjectItemDefinition ProjectItemDefinition ProjectItemDefinition ProjectItemDefinition Class

Definition

Represents an evaluated item definition for a particular item-type.

public ref class ProjectItemDefinition
public class ProjectItemDefinition
type ProjectItemDefinition = class
Public Class ProjectItemDefinition
Inheritance
ProjectItemDefinitionProjectItemDefinitionProjectItemDefinitionProjectItemDefinition

Remarks

Item definitions are not the same as items. Like items, item definitions can have metadata. Like properties, new metadata can override old metadata with the same name.

During evaluation, all the item definitions for an item type are collected together (assuming their conditions are true) to create one ProjectItemDefinition for each type. For this reason, a project item definition can refer to more than one project item definition element. The metadata within a project item definition, however, refers to a single project metadata element, which can be added, removed, and modified.

Properties

ItemType ItemType ItemType ItemType

Gets the item type of this item definition.

Metadata Metadata Metadata Metadata

Gets an enumerator over all metadata for the item definition.

MetadataCount MetadataCount MetadataCount MetadataCount

Gets the count of the metadata on the item definition.

Project Project Project Project

Gets the project that contains this item definition.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetMetadata(String) GetMetadata(String) GetMetadata(String) GetMetadata(String)

Gets any metadata in the item definition with the given name.

GetMetadataValue(String) GetMetadataValue(String) GetMetadataValue(String) GetMetadataValue(String)

Gets the value of any metadata in the item that has the specified name.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetMetadataValue(String, String) SetMetadataValue(String, String) SetMetadataValue(String, String) SetMetadataValue(String, String)

Sets the value of the given metadata in the item definition.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to