Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CollectionSourceBase.ObjectTypeInfo Property

Provides metadata information on the type of the objects contained in the Collection Source’s CollectionSourceBase.Collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

public abstract ITypeInfo ObjectTypeInfo { get; }

#Property Value

Type Description
ITypeInfo

An ITypeInfo object which provides metadata information on the type of the objects contained in the Collection Source’s collection.

#Remarks

The ObjectTypeInfo‘s properties supply metadata on the objects contained in the Collection Source’s collection. Use the following members of the object returned by this property to get information on the type of the objects contained in the Collection Source’s collection:

  • Type - a type of the objects contained in the Collection Source’s collection
  • Name - a name of the Type type
  • FullName - a fully qualified name of the Type type (includes namespace)
  • IsPersistent - true if the Type is persistent; otherwise false
  • IsAbstract - true if the Type is abstract; otherwise false

When deriving from the CollectionSourceBase class, override this property to return the type of the objects contained in a Collection Source’s collection.

See Also