Share via


CreateContextItemCollection Method

Creates an instance of the context item collection to be returned from the ContextItems property. The default implementation creates a ContextItemCollection that supports delayed activation of design editor collections through the declaration of a SubscribeContext attribute on the design editor manager.

Namespace:  Microsoft.Data.Tools.Design.Core.Context
Assembly:  Microsoft.Data.Tools.Design.Core (in Microsoft.Data.Tools.Design.Core.dll)

Syntax

'Declaration
Protected Overridable Function CreateContextItemCollection As ContextItemCollection
'Usage
Dim returnValue As ContextItemCollection

returnValue = Me.CreateContextItemCollection()
protected virtual ContextItemCollection CreateContextItemCollection()
protected:
virtual ContextItemCollection^ CreateContextItemCollection()
abstract CreateContextItemCollection : unit -> ContextItemCollection 
override CreateContextItemCollection : unit -> ContextItemCollection 
protected function CreateContextItemCollection() : ContextItemCollection

Return Value

Type: Microsoft.Data.Tools.Design.Core.Context..::..ContextItemCollection
Returns an implementation of the ContextItemCollection class.

See Also

Reference

EditingContext Class

Microsoft.Data.Tools.Design.Core.Context Namespace