ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.CIM Namespace / NetworkTravelModeParameterValue Class / TryConvertToSerializeValue Method

In This Topic
    TryConvertToSerializeValue Method
    In This Topic
    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 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also