March 2003
Intermediate to advanced
896 pages
32h 35m
English
ProvidePropertyAttribute
This attribute adorns classes that implement
IExtenderProvider in order to indicate the
properties it will provide for the components that it extends.
Multiple instances can be added to support multiple extender
properties.
You can retrieve the PropertyName of the extender
property. The ReceiverTypeName is the name of the
root data type that this class can extend.
See IExtenderProvider for more information on
extended properties.
public sealed class ProvidePropertyAttribute : Attribute { // Public Constructors public ProvidePropertyAttribute(string propertyName, string receiverTypeName); public ProvidePropertyAttribute(string propertyName, Type receiverType); // Public Instance Properties public string PropertyName{get; } public string ReceiverTypeName{get; } public override object TypeId{get; } // overrides Attribute // Public Instance Methods public override bool Equals(object obj); // overrides Attribute public override int GetHashCode(); // overrides Attribute }
System.Object
→ System.Attribute → ProvidePropertyAttribute
Class
Read now
Unlock full access