Adds a parameter to the attribute definition using the specified name and default value.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function AddParameter( _
ByVal NameIn As System.String, _
ByVal Type As System.Integer, _
ByVal DefaultValue As System.Double, _
ByVal Options As System.Integer _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As IAttributeDef
Dim NameIn As System.String
Dim Type As System.Integer
Dim DefaultValue As System.Double
Dim Options As System.Integer
Dim value As System.Boolean
value = instance.AddParameter(NameIn, Type, DefaultValue, Options) |
Parameters
- NameIn
- Name to be given to the parameter (see Remarks)
- Type
- Parameter type as defined in swParamType_e
- DefaultValue
- Default value (see Remarks)
- Options
- Not used
Return Value
True if the parameter is added successfully, false if not
Example
Remarks
See Also