IPropertyDef Interface

Meta Data Services Programming

Meta Data Services Programming

IPropertyDef Interface

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

  1. Use the CreatePropertyDef method of the IInterfaceDef interface.

  2. Define any non-default characteristics of your new property definition by manipulating the properties of the property definition object.

  3. Commit your changes to the repository database.

Use 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.

See Also

IInterfaceDef CreatePropertyDef Method

PropertyDef Class