ProjectItemInstance.ITaskItem.GetMetadata(String) Method

Definition

ITaskItem implementation.

 virtual System::String ^ Microsoft.Build.Framework.ITaskItem.GetMetadata(System::String ^ metadataName) = Microsoft::Build::Framework::ITaskItem::GetMetadata;
string ITaskItem.GetMetadata (string metadataName);
abstract member Microsoft.Build.Framework.ITaskItem.GetMetadata : string -> string
override this.Microsoft.Build.Framework.ITaskItem.GetMetadata : string -> string
Function GetMetadata (metadataName As String) As String Implements ITaskItem.GetMetadata

Parameters

metadataName
String

The name of the metadata entry.

Returns

String

The value of the attributeName metadata.

Implements

Remarks

ITaskItem should not return null if metadata is not present.

Applies to