InterfaceDef Members Collection

Meta Data Services Programming

Meta Data Services Programming

InterfaceDef Members Collection

This collection specifies which members are attached to the interface.

Syntax

Set variable  =  object.Members(index)

The Members collection syntax has the following parts.

Part Description
variable A variable declared as an object. It receives the specified property definition, method definition, or collection definition.
object An object expression that evaluates to an InterfaceDef object.
index An integer index that identifies which element in the collection is to be addressed. The valid range is from one to the total number of elements in the collection. The number of elements in the collection is specified by object.Members.Count. For more information, see Selecting Items in a Collection.
Remarks

The following characteristics are true for this collection.

Collection characteristic Value Description
Relationship Type Interface_Has_Members This is the type of relationship by which all items of the collection are connected to a common source object.
Source is Origin Yes The source object for the collection is also the origin object.
Minimum Collection Size Zero The minimum number of items that must be contained in the collection is zero.
Maximum Collection Size Many The maximum number of items that can be contained in the collection is unlimited.
Sequenced Collection Yes As a destination collection, this collection permits an explicitly defined sequence. Collections of origin objects are never sequenced.
Deletes Propagated Yes The deletion of an origin object or relationship in the collection causes the deletion of the corresponding destination object.
Destinations Named Yes The relationship type for the collection permits the naming of destination objects.
Case-sensitive Names No The relationship type for the collection does not permit the use of case-sensitive names for destination objects.
Unique Names Yes The relationship type for the collection requires that the name of a destination object be unique within the collection of destination objects. This applies to collections whose relationship type permits destination objects to be named.

See Also

CollectionDef Object

InterfaceDef Object

MethodDef Object

PropertyDef Object