MethodDef Interface Collection

See Also

For a particular method definition, the Interface collection specifies which interface exposes a member of this type.

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

Syntax

Set variable = object.Interface( index )

The Interface collection syntax has the following parts.

Part Description
variable A variable declared as an InterfaceDef object. Receives the specified interface definition.
object An object expression that evaluates to a MethodDef 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.Interface.Count.