ProjectItem.HasMetadata(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.
Returns true if a particular piece of metadata is defined on this item, otherwise false. Includes built-in metadata and metadata inherited from item definitions.
public:
bool HasMetadata(System::String ^ name);
public bool HasMetadata (string name);
member this.HasMetadata : string -> bool
Public Function HasMetadata (name As String) As Boolean
Parameters
- name
- String
The name of the metadata to be searched for.
Returns
true
if metadata with the given name is defined on this item; otherwise, false
.
Remarks
Includes built-in metadata and metadata originating from item definitions.