| 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.2.0.0 (7.2.0.0)
Syntax void DeclAttribute(
string name,
MvDataType dt,
int kind,
MvValue defaultValue,
bool isIndexed,
bool canEdit,
bool isAuto,
bool isExported,
bool isDynamic
)
Sub DeclAttribute (
name As String,
dt As MvDataType,
kind As Integer,
defaultValue As MvValue,
isIndexed As Boolean,
canEdit As Boolean,
isAuto As Boolean,
isExported As Boolean,
isDynamic As Boolean
)
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.
Remarks See Also