Freigeben über


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);
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
string ITaskItem.GetMetadata (string metadataName);
abstract member Microsoft.Build.Framework.ITaskItem.GetMetadata : string -> string
override this.Microsoft.Build.Framework.ITaskItem.GetMetadata : string -> string
[<System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
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

The value of the attributeName metadata.

Implements

Attributes

Remarks

ITaskItem should not return null if metadata is not present.

Applies to