wwDotNetBridge::GetType

Returns a .NET Type object from the value passed to this function.

This method is useful for any method calls that require type information as part of a method call which is not uncommon in .NET. Just remember the type limititations - you can't get type information for FoxPro created objects (see Remarks)

o.GetType(lvValue)

Parameters

lvValue
Value to get a .NET type for.

Remarks

Only with simple types or types that were originated in .NET generate a full type instance with this method. FoxPro generated objects return a non-specific object type __ComObject, which is generally not very useful when type parameters are required.


See also:

Class wwDotNetBridge

© West Wind Technologies, 2023 • Updated: 08/03/15
Comment or report problem with topic