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

AFValue.FromPIValue Method (Boolean, Object)

Table of Contents

AFValue.FromPIValue Method (Boolean, Object)

AFValue.FromPIValue Method (Boolean, Object)

Note: This API is now obsolete.

This method sets the value of this AFValue object from a PISDK.PIValue object.

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

Syntax

[BrowsableAttribute(false)]
[ObsoleteAttribute("Replace with FromPIValue(object).")]
public void FromPIValue(
	bool useDigitalStateCode,
	Object piValue
)
<BrowsableAttribute(false)>
<ObsoleteAttribute("Replace with FromPIValue(object).")>
Public Sub FromPIValue ( 
	useDigitalStateCode As Boolean,
	piValue As Object
)

Dim instance As AFValue
Dim useDigitalStateCode As Boolean
Dim piValue As Object

instance.FromPIValue(useDigitalStateCode, 
	piValue)
public:
[BrowsableAttribute(false)]
[ObsoleteAttribute(L"Replace with FromPIValue(object).")]
void FromPIValue(
	bool useDigitalStateCode, 
	Object^ piValue
)
[<BrowsableAttribute(false)>]
[<ObsoleteAttribute("Replace with FromPIValue(object).")>]
member FromPIValue : 
        useDigitalStateCode : bool * 
        piValue : Object -> unit 

Parameters

useDigitalStateCode
Type: System.Boolean
This parameter is ignored.
piValue
Type: System.Object
The PISDK.PIValue object to be used when setting the fields of this AFValue object.

Remarks

This method is obsolete and has been replaced by the FromPIValue(object) method.

Version Information

AFSDK

Obsolete (compiler warning) in 3.1.0
Obsolete (compiler warning) in 3.0.2
Obsolete (compiler warning) in 3.0.1
Obsolete (compiler warning) in 3.0.0
Obsolete (compiler warning) in 2.10.11
Obsolete (compiler warning) in 2.10.5
Obsolete (compiler warning) in 2.10.0
Obsolete (compiler warning) in 2.10
Obsolete (compiler warning) in 2.9.5
Obsolete (compiler warning) in 2.9
Obsolete (compiler warning) in 2.8.5
Obsolete (compiler warning) in 2.8
Obsolete (compiler warning) in 2.7.5
Obsolete (compiler warning) in 2.7
Obsolete (compiler warning) in 2.6
Obsolete (compiler warning) in 2.5
Obsolete (compiler warning) in 2.4

See Also

Was this topic helpful?