CSharpTest.Net
Assert Method
See Also  Send Feedback Download Help File
CSharpTest.Net.BPlusTree Assembly > CSharpTest.Net Namespace > DuplicateKeyException Class : Assert Method

condition

Glossary Item Box

if(condition == false) throws The specified key already exists in the collection.

Syntax

Visual Basic (Declaration) 
Public Shared Sub Assert( _
   ByVal condition As Boolean _
) 
C# 
public static void Assert( 
   bool condition
)

Parameters

condition

Exceptions

ExceptionDescription
DuplicateKeyExceptionException class: DuplicateKeyException The specified key already exists in the collection.

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys