A property definition object specifies the characteristics of a particular type of property. These characteristics are defined by the properties of the property definition object.
To create a new property definition:
Use the CreatePropertyDef method of the IInterfaceDef interface.
Define any non-default characteristics of your new property definition by manipulating the properties of the property definition object.
Commit your changes to the Repository database.
RepositoryUse the IPropertyDef interface to retrieve or modify the characteristics of a property definition.
Properties
Property
Description
APIType
The C data type of the property.
ColumnName
The name of the column in the SQL table for this property.
Flags
Specifies details about the property.
SQLScale
The number of digits to the right of the decimal point for a numeric property.
SQLSize
The size in bytes of the property.
SQLType
The SQL data type of the property.
Methods
IUnknown Method
Description
QueryInterface
Returns pointers to supported interfaces.
AddRef
Increments the reference count.
Release
Decrements the reference count.
IDispatch Method
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.