Cocktail Help Reference
Create Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > ObjectManager<TKey,T> Class : Create Method



Glossary Item Box

Creates an object instance without adding it to the internal managed dictionary.

Syntax

Visual Basic (Declaration) 
Public Function Create() As T
Visual Basic (Usage)Copy Code
Dim instance As ObjectManager(Of TKey,T)
Dim value As T
 
value = instance.Create()
C# 
public T Create()
C++/CLI 
public:
T^ Create(); 

Return Value

Returns the new instance. Can later be added with Add

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.