MiniUtilContainerType Method
test if object is (a container like) a list or an array.
Namespace: Karamba.UtilitiesAssembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
public static Type ContainerType(
this Object o
)
<ExtensionAttribute>
Public Shared Function ContainerType (
o As Object
) As Type
public:
[ExtensionAttribute]
static Type^ ContainerType(
Object^ o
)
[<ExtensionAttribute>]
static member ContainerType :
o : Object -> Type
- o Object
- object.
Typenull or the container type.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).