Cocktail Help Reference
GetEntity Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > DataChangedEventArgs Class : GetEntity Method



key
The entities key.

Glossary Item Box

Gets the complete entity from the EntityManager that triggered the event.

Syntax

Visual Basic (Declaration) 
Public Function GetEntity( _
   ByVal key As IdeaBlade.EntityModel.EntityKey _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As DataChangedEventArgs
Dim key As IdeaBlade.EntityModel.EntityKey
Dim value As Object
 
value = instance.GetEntity(key)
C# 
public object GetEntity( 
   IdeaBlade.EntityModel.EntityKey key
)
C++/CLI 
public:
Object^ GetEntity( 
   IdeaBlade.EntityModel.EntityKey^ key
) 

Parameters

key
The entities key.

Return Value

An object representing the entity or null if it doesn't exist.

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

© 2013 All Rights Reserved.