BuildItem.CustomMetadataCount Property
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.
Gets the number of custom attributes that are set on this 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
An integer indicating how many custom attributes are set on this item.
- Attributes
Remarks
The value returned by CustomMetadataCount does include pre-defined or reserved item-spec modifiers, because they are not custom attributes.