Reloads the given persistent object from the storage. Returns true if the reload was successful or
false if not.
Syntax
| Visual Basic (Declaration) | |
|---|
Overloads Public Function Reload(Of T)( _
ByVal obj As T _
) As Boolean |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As ObjectContext
Dim obj As T
Dim value As Boolean
value = instance.Reload(Of T)(obj)
|
| C# | |
|---|
public bool Reload<T>(
T obj
) |
| Managed Extensions for C++ | |
|---|
public: bool Reload<T>(
T obj
) |
| C++/CLI | |
|---|
public:
bool Reloadgeneric<typename T>
(
T obj
) |
Parameters
- obj
- The persistent object that is reloaded from the storage.
Type Parameters
- T
Return Value
True if the persistent object has been reloaded sucessfully; false if not.
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also