次の方法で共有


BuildItem.CustomMetadataCount 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 number of metadata set on the item.

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

Property Value

Count of metadata.

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