共用方式為


BuildItem.CustomMetadataNames Property

Definition

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Gets the names of metadata on the item -- also includes the pre-defined/reserved item-spec modifiers.

public:
 property System::Collections::ICollection ^ CustomMetadataNames { System::Collections::ICollection ^ get(); };
public System.Collections.ICollection CustomMetadataNames { get; }
public System.Collections.ICollection CustomMetadataNames { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.CustomMetadataNames : System.Collections.ICollection
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.CustomMetadataNames : System.Collections.ICollection
Public ReadOnly Property CustomMetadataNames As ICollection

Property Value

Collection of name strings.

Attributes

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to