ContextItem Class

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

Inheritance Hierarchy

System..::..Object
  Microsoft.Data.Tools.Design.Core.Context..::..ContextItem
    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)

Syntax

'Declaration
Public MustInherit Class ContextItem
'Usage
Dim instance As ContextItem
public abstract class ContextItem
public ref class ContextItem abstract
[<AbstractClassAttribute>]
type ContextItem =  class end
public abstract class ContextItem

The ContextItem type exposes the following members.

Constructors

  Name Description
Protected method ContextItem Creates a new ContextItem.

Top

Properties

  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.

Top

Methods

  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.)

Top

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

Reference

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