IInterfaceMember2 Interface

Meta Data Services Programming

Meta Data Services Programming

IInterfaceMember2 Interface

This interface is used to support aliasing. You can use this interface to allow PropertyDef, MethodDef, Alias, and CollectionDef objects to be referred to by a second name or alias.

The Alias class implements IInterfaceMember2 as its default interface. Instances of the Alias class are simple, derived members. The CollectionDef class also implements IInterfaceMember2 in order to support the semantically richer kind of derived member.

This interface inherits from IInterfaceMember. It also uses methods exposed through IRepositoryDispatch. For more information, see IRepositoryDispatch Interface.

When to Use

Use the IInterfaceMember2 interface to:

  • Create simple, derived members as instances from the Alias class.

  • Create semantically rich derived members as instances from the CollectionDef class.
Properties
Property Description
MemberSynonym A string used as an alias.

Collections
Collection Description
ScriptsUsedByMember A collection that contains a script definition object.
ServicedByBaseMember The base member that provides implementation to a derived member.
ServicesDerivedMembers The derived interface member that receives its implementation from a base member on another interface.

See Also

Creating a Derived Member

IInterfaceMember Interface

IReposTypeInfo2 Interface