InterfaceDef Members Collection

See Also

This collection specifies which members are attached to the interface.

Collection descriptor Descriptor value
Relationship Type Interface-Has-Members
Source Is Origin Yes
Minimum Collection Size Zero
Maximum Collection Size Many
Sequenced Collection Yes
Deletes Propagated Yes
Destinations Named Yes
Case-Sensitive Names No
Unique Names Yes

Syntax

Set variable  =  object.Members(index)

The Members collection syntax has the following parts.

Part Description
variable A variable declared as an object. 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 number of elements in the collection. The number of elements in the collection is specified by object.Members.Count.

(c) 1988-1998 Microsoft Corporation. All Rights Reserved.