ParameterDef Object

Meta Data Services Programming

Meta Data Services Programming

ParameterDef Object

A parameter definition object represents the parameter of a method.

A ParameterDef object is also a RepositoryObject and a RepositoryObjectVersion object. You can also access members that are defined for these objects and members of IReposTypeInfo. For more information about accessing a member of an interface that is not the default interface, see Accessing Automation Object Members.

When to Use

Use the ParameterDef object to create parameters for a method definition object that you define.

Properties
Property Description
Flags A flag that defines attributes of the parameter value. You can define whether a parameter is the default parameter of the method, is optional, or is passed by reference or by value.
Default A string denoting the default value for the parameter.
Description A descriptive string placed into an Interface Definition Language (IDL) file that substitutes for the generic default text for the parameter type.
GUID A globally unique identifier (GUID) that defines the interface identifier of a COM-based interface parameter.
Type The data type of the parameter expressed as a constant value.

See Also

MethodDef Object

Object Identifiers and Internal Identifiers

RepositoryObject Object

RepositoryObjectVersion Object