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

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

    ArcGIS Pro version: 3 or higher.
    See Also