Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFVariableMap Methods

  • Last UpdatedNov 18, 2025
  • 3 minute read
AFVariableMap Methods

The AFVariableMap type exposes the following members.

Methods

  NameDescription
Public method
Clear
Clears all defined variable mappings.
Public method
ClearAllExceptSpecified
Clears all AFVariableMappingDatas defined in this AFVariableMap except for the variable names specified.
Public methodStatic member
Create
Gets an AFVariableMap with empty configuration.
Public methodStatic member
Create(String)
Gets an AFVariableMap with values from the serialized configuration.
Public methodStatic member
Create(AFAnalysisRule)
Gets a disconnected AFVariableMap with the configuration loaded from the specified analysis rule. Changes to the returned instance will not be written back to the analysis rule.
Public method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method
IsVariableMapped
Returns true if there is an AFVariableMappingData configured for the specified variable name and false otherwise.
Public method
RefreshMappings
Refreshes variablemappings and updates it with resolved attributes if needed.
Public method
RemoveMapping
Remove any mapping for the specified variable name
Public method
RemoveMappings
Clears all AFVariableMappingDatas defined in this AFVariableMap whose name appears in the variablesToRemove enumeration.
Public method
SetMapping
Sets the AFVariableMappingData associated with the specified variable name.
Public method
SetVariableMap
Overwrites this AFVariableMap with the contents of passed variable map.
Public method
ToString
Gets the serialized form of the variable mapping.
(Overrides ObjectToString.)
Public method
TryGetMapping
Tries to find an AFVariableMappingData for the specified variable name.

See Also

TitleResults for “How to create a CRG?”Also Available in