TaskItem Methods
.NET Framework 4
The TaskItem type exposes the following members.
| Name | Description | |
|---|---|---|
|
CloneCustomMetadata | Clones the collection of custom metadata for the item specification. |
|
CopyMetadataTo | Copies the item-specification metadata to the specified destination task item. |
|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
|
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.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetMetadata | Retrieves the specified metadata on the item. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService | When overridden in a derived class, gives task items infinite lease time. (Overrides MarshalByRefObject.InitializeLifetimeService().) |
|
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
|
RemoveMetadata | Removes the specified metadata on the item. |
|
SetMetadata | Sets or modifies the value of the specified metadata on the item. |
|
ToString | Gets the item specification. (Overrides Object.ToString().) |
| Name | Description | |
|---|---|---|
|
ITaskItem2.CloneCustomMetadataEscaped | ITaskItem2 implementation which returns a clone of the metadata on this object. Values returned are in their original escaped form. |
|
ITaskItem2.GetMetadataValueEscaped | ITaskItem2 implementation which allows the values of metadata on the item to be queried. |
|
ITaskItem2.SetMetadataValueLiteral | ITaskItem2 implementation which allows a piece of custom metadata to be set on the item. Assumes that the value passed in is unescaped, and escapes the value as necessary in order to maintain its value. |