ArcGIS Pro 3.7 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 Shared Function TryConvertToSerializeValue( _
       ByVal sourceValue As Object, _
       ByVal varTypeEnumValue As VarEnum, _
       ByRef serializeValue As Object _
    ) As Boolean
    public static bool TryConvertToSerializeValue( 
       object sourceValue,
       VarEnum varTypeEnumValue,
       out object serializeValue
    )

    Parameters

    sourceValue
    varTypeEnumValue
    serializeValue
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also