System.ComponentModel.DefaultPropertyAttribute Class

Specifies the default property for a component.

See Also: DefaultPropertyAttribute Members

Syntax

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class DefaultPropertyAttribute : Attribute

Remarks

Use the DefaultPropertyAttribute.Name property to get the name of the default property.

For more information, see Extending Metadata Using Attributes.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0