InterfaceDef ScriptsUsedByInterface Collection

Meta Data Services Programming

Meta Data Services Programming

InterfaceDef ScriptsUsedByInterface Collection

This is the collection of ScriptDef objects that are implemented by this interface.

This collection is not attached to the default interface for this Automation object; it is attached to the IClassDef2 interface. For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.

Syntax

Set variable  =  object.ScriptsUsedByInterface(index)

The ScriptsUsedByInterface collection syntax has the following parts.

Part Description
variable A variable declared as a ScriptDef object. It receives the specified script 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.ScriptDef.Count. For more information, see Selecting Items in a Collection.

See Also

IClassDef2 Interface

InterfaceDef Object

ReposTypeLib Object

ScriptDef Object