CastHelper.CastCommon<TTarget> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- mode
- CommonCastMode
- context
- CommonCastContext
Returns
TTarget