VBAttributePart Statement

The VBAttributePart statement describes a part that provides an attribute value for a part or connection. The composition DLL specified with the VBComposerInfo statement creates an object to provide the attribute value.

The attribute part specified by the VBAttributePart statement provides an attribute value for a VBPartValue statement or VBConnValue statement. Other VBPartValue statements can in turn provide values for attributes of the attribute part.

{ //VBAttributePart: ownerName, partName, type, refType }

ownerName
Name of the part, embedded part, attribute part, or connection that this attribute part provides a value for.

partName
The name of the attribute part.

type
C++ class type of the attribute part, including any pointer or reference notation. For a template class, provide template arguments for the part type. For example, to provide a collection of ICustomer* parts using the IVSequence<class Element> template, specify IVSequence<ICustomer*>.

refType
The form of the embedded part.

( p )

p
The part is an object instance of the class.


Related procedures
Defining the Part Interface Using Part Information Statements

Related references
Visual Part Information Statements
Nonvisual Part Information Statements
Part Information Statement Descriptions
Part Information Statement Examples