ArcGIS Pro 2.7 API Reference Guide
TryConvertToSerializeValue Method

ArcGIS.Core.CIM Namespace > NetworkTravelModeParameterValue Class : TryConvertToSerializeValue Method
Attempts to convert the source value of the specified type from the property value to the serialize value representation. Returns true if the conversion succeeded. Otherwise returns false.
Syntax
public static bool TryConvertToSerializeValue( 
   object sourceValue,
   VarEnum varTypeEnumValue,
   out object serializeValue
)
Public Shared Function TryConvertToSerializeValue( _
   ByVal sourceValue As Object, _
   ByVal varTypeEnumValue As VarEnum, _
   ByRef serializeValue As Object _
) As Boolean

Parameters

sourceValue
varTypeEnumValue
serializeValue
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

NetworkTravelModeParameterValue Class
NetworkTravelModeParameterValue Members