Gets and sets the persistent object that is related to the parent object.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property InnerObject As T |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As ObjectHolder(Of T)
Dim value As T
instance.InnerObject = value
value = instance.InnerObject
|
| C# | |
|---|
public T InnerObject {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property T get_InnerObject();
public: __property void set_InnerObject(
T value
); |
| C++/CLI | |
|---|
public:
property T InnerObject {
T get();
void set (T value);
} |
Return Value
Returns the related persitent object..
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also