ContextLayer Class
The items in the context item manager are divided into layers. A layer may be isolated, in which it does not inherit context from previous layers, or normal, in which it does. Once a layer is created new context items can be set into that layer. When the layer is removed, all the prior context items come back.
Inheritance Hierarchy
System..::..Object
Microsoft.Data.Tools.Design.Core.Context..::..ContextLayer
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 ContextLayer _
Implements IDisposable
'Usage
Dim instance As ContextLayer
public abstract class ContextLayer : IDisposable
public ref class ContextLayer abstract : IDisposable
[<AbstractClassAttribute>]
type ContextLayer =
class
interface IDisposable
end
public abstract class ContextLayer implements IDisposable
The ContextLayer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ContextLayer | Creates a new ContextLayer object. |
Top
Methods
Name | Description | |
---|---|---|
Dispose() () () () | Disposes this layer by calling Dispose(true). | |
Dispose(Boolean) | Disposes this layer by calling Remove on it. | |
Equals | (Inherited from Object.) | |
Finalize | Implements the finalization part of the IDisposable pattern by calling Dispose(false). (Overrides Object..::..Finalize() () () ().) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
Remove | Removes this layer from the items. | |
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.