ContextDataSourceView.DisposeContext 方法
定义
在执行操作之后释放上下文。Disposes the context after an operation is performed.
重载
| DisposeContext() |
在执行操作之后释放上下文。Disposes the context after an operation is performed. |
| DisposeContext(Object) |
在执行操作之后释放指定数据上下文。Disposes the specified data context after an operation is performed. |
DisposeContext()
在执行操作之后释放上下文。Disposes the context after an operation is performed.
protected:
void DisposeContext();
protected void DisposeContext ();
member this.DisposeContext : unit -> unit
Protected Sub DisposeContext ()
适用于
DisposeContext(Object)
在执行操作之后释放指定数据上下文。Disposes the specified data context after an operation is performed.
protected:
virtual void DisposeContext(System::Object ^ dataContext);
protected virtual void DisposeContext (object dataContext);
abstract member DisposeContext : obj -> unit
override this.DisposeContext : obj -> unit
Protected Overridable Sub DisposeContext (dataContext As Object)
参数
- dataContext
- Object
要释放的数据上下文。The data context to dispose.