| MvComponentDeclAttribute Method |
Namespace:
RW.Server.Component
Assembly:
RW.Server.Component (in RW.Server.Component.dll) Version: 7.2.0.0 (7.2.0.0)
Syntax public virtual void DeclAttribute(
string name,
MvDataType type,
int kind,
MvValue defaultValue,
bool isIndexed,
bool canEdit,
bool isAuto,
bool isExported,
bool isDynamic
)
Public Overridable Sub DeclAttribute (
name As String,
type As MvDataType,
kind As Integer,
defaultValue As MvValue,
isIndexed As Boolean,
canEdit As Boolean,
isAuto As Boolean,
isExported As Boolean,
isDynamic As Boolean
)
public:
virtual void DeclAttribute(
String^ name,
MvDataType type,
int kind,
MvValue^ defaultValue,
bool isIndexed,
bool canEdit,
bool isAuto,
bool isExported,
bool isDynamic
)
Parameters
- name
- Type: SystemString
The name of the attribute. - type
- 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.
Implements
IRtModelBuilderDeclAttribute(String, MvDataType, Int32, MvValue, Boolean, Boolean, Boolean, Boolean, Boolean)See Also