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

AF SDK Reference

Product Family
Current publication

AFAnalysisRule.MapVariable Method (String, AFAttribute)

Table of Contents

AFAnalysisRule.MapVariable Method (String, AFAttribute)

AFAnalysisRule.MapVariable Method (String, AFAttribute)
Maps a variable to the specified AFAttribute.

Namespace:  OSIsoft.AF.Analysis
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.0.1156

Syntax

public void MapVariable(
	string name,
	AFAttribute attribute
)
Public Sub MapVariable ( 
	name As String,
	attribute As AFAttribute
)

Dim instance As AFAnalysisRule
Dim name As String
Dim attribute As AFAttribute

instance.MapVariable(name, attribute)
public:
void MapVariable(
	String^ name, 
	AFAttribute^ attribute
)
member MapVariable : 
        name : string * 
        attribute : AFAttribute -> unit 

Parameters

name
Type: System.String
The variable name for mapped attribute.
attribute
Type: OSIsoft.AF.Asset.AFAttribute
The attribute the variable is mapped to.

Version Information

AFSDK


See Also

Was this topic helpful?