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

AF SDK Reference

AFAnalysisService.RuntimeFieldValue Explicit Conversion (AFAnalysisService.RuntimeFieldValue to Guid)

AFAnalysisService.RuntimeFieldValue Explicit Conversion (AFAnalysisService.RuntimeFieldValue to Guid)

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFAnalysisService.RuntimeFieldValue Explicit Conversion (AFAnalysisService.RuntimeFieldValue to Guid)
Performs an explicit conversion from AFAnalysisServiceRuntimeFieldValue to Guid. Only supported for .NET 4 version of SDK.

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

Syntax

public static explicit operator Guid (
	AFAnalysisServiceRuntimeFieldValue value
)
Public Shared Narrowing Operator CType ( 
	value As AFAnalysisServiceRuntimeFieldValue
) As Guid

Dim input As AFAnalysisServiceRuntimeFieldValue
Dim output As Guid

output = CType(input, Guid)
static explicit operator Guid (
	AFAnalysisServiceRuntimeFieldValue^ value
)
F# does not support the declaration of new casting operators.

Parameters

value
Type: OSIsoft.AF.AnalysisAFAnalysisServiceRuntimeFieldValue
A AFAnalysisServiceRuntimeFieldValue to convert into a Guid.

Return Value

Type: Guid
Returns a Guid representation of value. Only supported for .NET 4 version of SDK. If the underlying value cannot be converted, ArgumentException is thrown.

Exceptions

ExceptionCondition
ArgumentException

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.11, 2.10.5

See Also

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