Overview | Methods | This Package | All Packages
Creates an ExtenderInfo object.
Syntax
public ExtenderInfo( Class extenderClass, String propertyName, Class extendeeType, Class propertyType, MemberAttribute[] attributes )
public ExtenderInfo( Class extenderClass, String propertyName, Class extendeeType, Class propertyType )
public ExtenderInfo( Class extenderClass, String propertyName, Class extendeeType, Class propertyType, MemberAttribute a1 )
public ExtenderInfo( Class extenderClass, String propertyName, Class extendeeType, Class propertyType, MemberAttribute a1, MemberAttribute a2 )
public ExtenderInfo( Class extenderClass, String propertyName, Class extendeeType, Class propertyType, MemberAttribute a1, MemberAttribute a2, MemberAttribute a3 )
public ExtenderInfo( Class extenderClass, String propertyName, Class extendeeType, Class propertyType, MemberAttribute a1, MemberAttribute a2, MemberAttribute a3, MemberAttribute a4 )
public ExtenderInfo( ExtenderInfo oldExtenderInfo, MemberAttribute[] attributes )
public ExtenderInfo( ExtenderInfo oldExtenderInfo, MemberAttribute a1 )
public ExtenderInfo( ExtenderInfo oldExtenderInfo, MemberAttribute a1, MemberAttribute a2 )
public ExtenderInfo( ExtenderInfo oldExtenderInfo, MemberAttribute a1, MemberAttribute a2, MemberAttribute a3 )
public ExtenderInfo( ExtenderInfo oldExtenderInfo, MemberAttribute a1, MemberAttribute a2, MemberAttribute a3, MemberAttribute a4 )
Parameters
extenderClass
The type of the component that defines the extender. (This component should implement the IExtenderProvider interface.)
propertyName
The name of the extender.
extendeeType
The type of the component to receive the extender property.
propertyType
The type of the extender.
attributes
An array of MemberAttribute objects that specify the attributes of the property.
a1, a2, a3, a4
A MemberAttribute object that specifies an attribute of the property.
oldExtenderInfo
An existing ExtenderInfo object on which to base the new extender.
Remarks
When you create a new extender using an existing ExtenderInfo object, the attributes of the existing extender and those specified for the new extender are combined. However, if an attribute of the existing extender is of the same class as an attribute specified for the new extender, the attribute for the new extender takes precedence. For example, if you pass an ExtenderInfo object that specifies DefaultValueAttribute.ZERO, but you also pass DefaultValueAttribute.ONE, the new extender is given the DefaultValueAttribute.ONE attribute.
For an example that shows how to create an ExtenderInfo object, see the ExtenderInfo overview.