![]()
A collection of schema objects of the specified type.
The IDesignerDataSchema.GetSchemaItems(DesignerDataSchemaClass) method returns a collection of all the specified schema objects in the data store.
See the System.ComponentModel.Design.Data.DesignerDataSchemaClass class for the list of schema objects supported by the .NET Framework. Additional schema objects can be added to the System.ComponentModel.Design.Data.DesignerDataSchemaClass class by creating a derived type.
If the data store does not support the requested schema object, the IDesignerDataSchema.GetSchemaItems(DesignerDataSchemaClass) method should return null. You can use the IDesignerDataSchema.SupportsSchemaClass(DesignerDataSchemaClass) method to determine whether a data store supports the requested schema object before calling the IDesignerDataSchema.GetSchemaItems(DesignerDataSchemaClass) method, to avoid returning null to your application.
If the data store supports the requested object, but does not contain any instances, the IDesignerDataSchema.GetSchemaItems(DesignerDataSchemaClass) method should return an empty collection.