Add Properties to Each Interface

Meta Data Services Programming

Meta Data Services Programming

Add Properties to Each Interface

Each interface in your information model can expose properties. Attach a new property to an interface by creating an instance of the PropertyDef class.

To create a new property definition

  • Use the CreatePropertyDef method of the IInterfaceDef interface that is exposed by your InterfaceDef object.

See Also

Add Methods to Each Interface

Add Relationship Types and Pairs of Collection Types

Creating Type Information Programmatically

IInterfaceDef Interface