ContextItem Class

The ContextItem class is the base class from which all context items must derive.

Inheritance Hierarchy

    Microsoft.Data.Tools.Design.Core.Context..::..ContextItem< (Of < ( <'T> ) > ) >
    Microsoft.Data.Tools.Design.Core.Context..::..Selection< (Of < ( <'T, Owner> ) > ) >

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


Public MustInherit Class ContextItem
Dim instance As ContextItem
public abstract class ContextItem
public ref class ContextItem abstract
type ContextItem =  class end
public abstract class ContextItem

The ContextItem type exposes the following members.


  Name Description
Protected method ContextItem Creates a new ContextItem.



  Name Description
Public property ItemType Returns the item type for this editing context item. Context items are considered unique based on their item type. By using ItemType to identify a type of context item we allow several derived versions of context items to be cataloged under the same key in the editing context.



  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnItemChanged This method is called on a context item before it is stored in the context item manager. The previous item in the context item manager is passed.
Public method ToString (Inherited from Object.)


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


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