Intersoft ClientUI Documentation
AutoDisposeDataContext Property
See Also  Send Feedback
Intersoft.Client.UI.Navigation Namespace > UXPage Class : AutoDisposeDataContext Property






Gets or sets a value indicating whether the data context should be automatically disposed when the page is disposed.

Syntax

Visual Basic (Declaration) 
Public Property AutoDisposeDataContext As Boolean
Visual Basic (Usage)Copy Code
Dim instance As UXPage
Dim value As Boolean
 
instance.AutoDisposeDataContext = value
 
value = instance.AutoDisposeDataContext
C# 
public bool AutoDisposeDataContext {get; set;}
Delphi 
public read-write property AutoDisposeDataContext: Boolean; 
JScript 
public function get,set AutoDisposeDataContext : boolean
Managed Extensions for C++ 
public: __property bool get_AutoDisposeDataContext();
public: __property void set_AutoDisposeDataContext( 
   bool value
);
C++/CLI 
public:
property bool AutoDisposeDataContext {
   bool get();
   void set (    bool value);
}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.