IAttributeDefinition
Overview
IAttributeDefinition is used to add/modify attributes in a member or type.
Location
- Reference: RemObjects.Elements.Cirrus.dll
- Namespace: RemObjects.Elements.Cirrus
AddNamedParameter
Add a new named parameter
Parameters:
- name: name of the parameter
- value: value
AddParameter
Add a new parameter
method AddParameter(value: Value)
void AddParameter(Value value)
func AddParameter(_ value: Value)
void AddParameter(Value value)
Sub AddParameter(value As Value)
Parameters:
- value: parameter value
DeleteNamedParameter
Delete a named parameter by index
method DeleteNamedParameter(no: Int32)
void DeleteNamedParameter(Int32 no)
func DeleteNamedParameter(_ no: Int32)
void DeleteNamedParameter(Int32 no)
Sub DeleteNamedParameter(no As Int32)
Parameters:
- no: index
DeleteParameter
Delete a parameter by index
method DeleteParameter(no: Int32)
void DeleteParameter(Int32 no)
func DeleteParameter(_ no: Int32)
void DeleteParameter(Int32 no)
Sub DeleteParameter(no As Int32)
Parameters:
- no: index
ResolveMembers
Resolve the method that fits with the parameters given, this will cause compiler errors if it doesn't match. If it's not called, the attribute won't be emitted
method ResolveMembers
void ResolveMembers()
func ResolveMembers()
void ResolveMembers()
Sub ResolveMembers()
SetNamedParameterValue
Set a named parameter by index
Parameters:
- no: index
- value: new named parameter value
SetParameter
Change a parameter
Parameters:
- no: index
- value: new parameter value
Type
The type of this attribute
Type
The type of this attribute
AddNamedParameter
Add a new named parameter
Parameters:
- name: name of the parameter
- value: value
AddParameter
Add a new parameter
method AddParameter(value: Value)
void AddParameter(Value value)
func AddParameter(_ value: Value)
void AddParameter(Value value)
Sub AddParameter(value As Value)
Parameters:
- value: parameter value
DeleteNamedParameter
Delete a named parameter by index
method DeleteNamedParameter(no: Int32)
void DeleteNamedParameter(Int32 no)
func DeleteNamedParameter(_ no: Int32)
void DeleteNamedParameter(Int32 no)
Sub DeleteNamedParameter(no As Int32)
Parameters:
- no: index
DeleteParameter
Delete a parameter by index
method DeleteParameter(no: Int32)
void DeleteParameter(Int32 no)
func DeleteParameter(_ no: Int32)
void DeleteParameter(Int32 no)
Sub DeleteParameter(no As Int32)
Parameters:
- no: index
ResolveMembers
Resolve the method that fits with the parameters given, this will cause compiler errors if it doesn't match. If it's not called, the attribute won't be emitted
method ResolveMembers
void ResolveMembers()
func ResolveMembers()
void ResolveMembers()
Sub ResolveMembers()
SetNamedParameterValue
Set a named parameter by index
Parameters:
- no: index
- value: new named parameter value
SetParameter
Change a parameter
Parameters:
- no: index
- value: new parameter value