Example Code for Creating a Container Object (Windows)

Switch View :
ScriptFree
Example Code for Creating a Container Object

The following code example creates two objects. First, a container object and, second, a sub-container object. A value for the sub-container object is added to the otherWellKnownObjects property of the container object. The code example binds to the sub-container object using the WKGUID binding and displays its ADsPath. It then renames the sub-container object and binds again using the same WKGUID binding.

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012