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

    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
    )

    Parameters

    sourceValue
    varTypeEnumValue
    propertyValue
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also