CastHelper.CastCommon<TTarget> Method

Definition

public:
generic <typename TTarget>
 where TTarget : Microsoft::Dynamics::Ax::Xpp::Commongcnew() static TTarget CastCommon(Microsoft::Dynamics::Ax::Xpp::Common ^ source, Microsoft::Dynamics::Ax::Xpp::CommonCastMode mode, Microsoft::Dynamics::Ax::Xpp::CommonCastContext context);
public static TTarget CastCommon<TTarget> (Microsoft.Dynamics.Ax.Xpp.Common source, Microsoft.Dynamics.Ax.Xpp.CommonCastMode mode, Microsoft.Dynamics.Ax.Xpp.CommonCastContext context) where TTarget : Microsoft.Dynamics.Ax.Xpp.Commonnew();
static member CastCommon : Microsoft.Dynamics.Ax.Xpp.Common * Microsoft.Dynamics.Ax.Xpp.CommonCastMode * Microsoft.Dynamics.Ax.Xpp.CommonCastContext -> 'arget (requires 'arget :> Microsoft.Dynamics.Ax.Xpp.Common and 'arget : (new : unit -> 'arget))
Public Shared Function CastCommon(Of TTarget As {CommonNew}) (source As Common, mode As CommonCastMode, context As CommonCastContext) As TTarget

Type Parameters

TTarget

Parameters

source
Common

Returns

TTarget

Applies to