- container
- The AnnContainer object to attach.
Visual Basic (Declaration) | |
---|---|
Public Sub AttachContainer( _ ByVal container As AnnContainer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnAutomation Dim container As AnnContainer instance.AttachContainer(container) |
C# | |
---|---|
public void AttachContainer( AnnContainer container ) |
C++/CLI | |
---|---|
public: void AttachContainer( AnnContainer^ container ) |
Parameters
- container
- The AnnContainer object to attach.
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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7