Visual Basic (Declaration) | |
---|---|
Public Function DetachContainer() As AnnContainer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public AnnContainer DetachContainer() |
Managed Extensions for C++ | |
---|---|
public: AnnContainer* DetachContainer(); |
C++/CLI | |
---|---|
public: AnnContainer^ DetachContainer(); |
Return Value
The last AnnContainer attached to this AnnAutomation object.You can use AttachContainer and DetachContainer to associated an AnnAutomationObject with a certain AnnContainer.
Note that when you detach the container from the AnnAutomationObject object, this object becomes unusable till you attach another container (or the same one) back into it through AttachContainer
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family