IdeaBlade DevForce 2010 Help Reference
IsTempId Method
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > IIdGenerator Interface : IsTempId Method



uniqueId
ID to be analyzed
Determines whether a given ID is temporary.

Syntax

Visual Basic (Declaration) 
Function IsTempId( _
   ByVal uniqueId As UniqueId _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As IIdGenerator
Dim uniqueId As UniqueId
Dim value As Boolean
 
value = instance.IsTempId(uniqueId)
C# 
bool IsTempId( 
   UniqueId uniqueId
)
C++/CLI 
bool IsTempId( 
   UniqueId^ uniqueId
) 

Parameters

uniqueId
ID to be analyzed

Return Value

true if the ID is temporary; otherwise false

Remarks

The UniqueId.Value contains the ID to be tested. You can use the EntityProperty.EntityType property of the UniqueId.Property to determine the IEntity type.

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.