The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
|TypeManagerHelperDynamicCast Method |
Dynamically casts a reference to another type.
WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
public static Object DynamicCast(
this Object referenceToCast,
- Type: SystemObject
Reference which has to be casted.
- Type: SystemType
Target type to cast.
Casted reference or null if cast was not successful.
In Visual Basic and C#, you can call this method as an instance method on any object of type Object
. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic)
or Extension Methods (C# Programming Guide)