IParameterDef Interface
The IParameterDef interface allows the model creator to define, in detail, each parameter of the method that uses the interface properties listed in this topic. Parameter definitions are stored in a RTblParameterDef table in the repository database.
When the engine receives a call to a method defined through these interfaces, it returns E_NOTIMPL.
Properties
Property |
Description |
Type |
The data type of the parameter. |
Flags |
A flag that defines whether the parameter is the default parameter. It also defines whether it is passed by reference or by value. |
Description |
A string (of 255 characters maximum) to be placed into the IDL file instead of the default text for the parameter type. |
Default |
A string (of 255 characters maximum) that denotes the default value for the parameter. |
GUID |
A GUID that defines the interface ID of a VT_DISPATCH or VT_UNKNOWN object. |
Methods
IUnknown method |
Description |
QueryInterface |
Returns pointers to supported interfaces |
AddRef |
Increments the reference count |
Release |
Decrements the reference count |
IDispatch emthod |
Description |
GetIDsOfNames |
Maps a single member and a set of argument names to a corresponding set of dispatch identifiers |
GetTypeInfo |
Retrieves a type information object, which can be used to get the type information for an interface |
GetTypeInfoCount |
Retrieves the number of type information interfaces that an object provides (either 0 or 1) |
Invoke |
Provides access to properties and methods exposed by an Automation object |
IRepositoryDispatch method |
Description |
get_Properties |
Retrieves the IReposProperties interface pointer. The IReposProperties interface provides access to the Properties collection. |
See Also
CollectionDef Class
IInterfaceMember DispatchID Property
IInterfaceMember Flags Property
IInterfaceMember Interface Collection
IMethodDef Interface
IParameterDef Interface
MethodDef Class
PropertyDef Class
Repository SQL Tables