Scheduler for WinForms | ComponentOne
C1.Win.C1Schedule.4.5.2 Assembly / C1.C1Schedule Namespace / Contact Class / Contact Constructor / Contact Constructor(Int32)
The System.Int32 value which should be used as contact key.

In This Topic
    Contact Constructor(Int32)
    In This Topic
    Initializes a new instance of the Contact class with the specified key.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal key As System.Integer _
    )
    public Contact( 
       System.int key
    )

    Parameters

    key
    The System.Int32 value which should be used as contact key.
    Remarks
    Use this constructor if your business logic requires setting custom key value. Make sure that you use the correct constructor overload (with integer or Guid key value) and that key value is unique.
    See Also