ProjectItemDefinitionInstance.GetMetadata(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get any metadata in the item that has the specified name, otherwise returns null
public:
virtual Microsoft::Build::Execution::ProjectMetadataInstance ^ GetMetadata(System::String ^ name);
public Microsoft.Build.Execution.ProjectMetadataInstance GetMetadata (string name);
abstract member GetMetadata : string -> Microsoft.Build.Execution.ProjectMetadataInstance
override this.GetMetadata : string -> Microsoft.Build.Execution.ProjectMetadataInstance
Public Function GetMetadata (name As String) As ProjectMetadataInstance
Parameters
- name
- String
The name of the metadata to retrieve.
Returns
Any metadata in this item definition with the given name, or null
if no metadata exists with this name.