다음을 통해 공유


ProjectItemDefinition.GetMetadata(String) Method

Definition

Get any metadata in the item that has the specified name, otherwise returns null

public:
 virtual Microsoft::Build::Evaluation::ProjectMetadata ^ GetMetadata(System::String ^ name);
public Microsoft.Build.Evaluation.ProjectMetadata GetMetadata (string name);
abstract member GetMetadata : string -> Microsoft.Build.Evaluation.ProjectMetadata
override this.GetMetadata : string -> Microsoft.Build.Evaluation.ProjectMetadata
Public Function GetMetadata (name As String) As ProjectMetadata

Parameters

name
String

The name of the metadata to retrieve.

Returns

Any metadata in the item definition with the given name, or null if no metadata exists with that name.

Applies to