Method Definition Objects

Meta Data Services Programming

Meta Data Services Programming

Method Definition Objects

An interface can expose one or more methods. A method definition object defines a method that you can attach to an interface. You can enumerate the methods for each interface of an information model. Each method can have one interface that exposes it, and each interface can expose many methods. After you define a method, you can define parameters and scripts to associate with the method.

The following figure shows that the IParagraph interface exposes the Reformat and ConvertIndentation methods.

You can access a method definition object from Automation or COM programs using the MethodDef object, the MethodDef class, or the IMethodDef interface.

See Also

Defining Methods

IMethodDef Interface

MethodDef Class

MethodDef Object

Repository Object Architecture