ArcGIS Pro 2.7 API Reference Guide
TryConvertToPropertyValue Method

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

Parameters

sourceValue
varTypeEnumValue
propertyValue
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

NetworkTravelModeParameterValue Class
NetworkTravelModeParameterValue Members