Rogue Wave Server Component library for .NET Reference Guide
|
|
IRtModelBuilderDeclAttribute Method |
Called by Rogue Wave Server to declare the Server attribute name.
Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 7.0.0.0 (7.0.0.0)
void DeclAttribute( string name, MvDataType dt, int kind, MvValue defaultValue, bool isIndexed, bool canEdit, bool isAuto, bool isExported, bool isDynamic )
Parameters
- name
- Type: SystemString
The name of the attribute. - dt
- Type: RW.Server.ComponentMvDataType
The type of the attribute value. - kind
- Type: SystemInt32
Is only defined for future extensions. It should not be used. - defaultValue
- Type: RW.Server.ComponentMvValue
The attribute default value. - isIndexed
- Type: SystemBoolean
Set to true if the attribute is indexed. - canEdit
- Type: SystemBoolean
Set to true if the attribute is editable. - isAuto
- Type: SystemBoolean
Set to true if the attribute has been implicitly declared in the Server model interpreter. - isExported
- Type: SystemBoolean
Set to true if the attribute has been declared exported. - isDynamic
- Type: SystemBoolean
Set to true if the attribute has been declared dynamic.
This attribute is owned by the last declared object type
(see the function DeclClass(String, Boolean, Boolean)).