Creates and returns a tree node that represents the specified object.
Original signature is '+ (id)treeNodeWithRepresentedObject:(id)modelObject'
Available in Mac OS X v10.5 and later.

C# | Visual Basic | Visual C++ |
public static NSTreeNode TreeNodeWithRepresentedObject( Id modelObject )
Public Shared Function TreeNodeWithRepresentedObject ( _ modelObject As Id _ ) As NSTreeNode
public: static NSTreeNode^ TreeNodeWithRepresentedObject( Id^ modelObject )

- modelObject (Id)
- The object the tree node represents.

An initialized tree node that represents modelObject.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)