Gets or sets the general flag to enable the lazy loading feature.
Syntax
Visual Basic (Declaration) | |
---|
Public Property Enable As Boolean |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As LazyLoading
Dim value As Boolean
instance.Enable = value
value = instance.Enable
|
C# | |
---|
public bool Enable {get; set;} |
Managed Extensions for C++ | |
---|
public: __property bool get_Enable();
public: __property void set_Enable(
bool value
); |
Return Value
True to enable the general flag for the lazy loading; otherwise it is false.
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also