Casting operation, convert the target objects to a differnt type.
If casting of the targets to new type are not successful,
exception will be thrown
Namespace: Cartella.InterfacesAssembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
ICartellaRelations<TOwner, TNewTarget> ConvertTarget<TNewTarget>() where TNewTarget : IBaseObject |
Visual Basic |
---|
Function ConvertTarget(Of TNewTarget As IBaseObject) As ICartellaRelations(Of TOwner, TNewTarget) |
Visual C++ |
---|
generic<typename TNewTarget> where TNewTarget : IBaseObject ICartellaRelations<TOwner, TNewTarget>^ ConvertTarget() |
Type Parameters
- TNewTarget
- New type the targets will be casted to