Casting operation, convert the owner object to a differnt type.
If casting of the owner to new type is 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<TNewOwner, TTarget> ConvertOwner<TNewOwner>() where TNewOwner : ICartellaObject |
Visual Basic |
---|
Function ConvertOwner(Of TNewOwner As ICartellaObject) As ICartellaRelations(Of TNewOwner, TTarget) |
Visual C++ |
---|
generic<typename TNewOwner> where TNewOwner : ICartellaObject ICartellaRelations<TNewOwner, TTarget>^ ConvertOwner() |
Type Parameters
- TNewOwner
- New type the owner will be casted to