[]
        
(Showing Draft Content)

C1.Schedule.Contact.-ctor

Contact Constructor

Contact(int)

Initializes a new instance of the Contact class with the specified key.

Declaration
public Contact(int key)
Parameters
Type Name Description
int key

The int 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.

Contact(Guid)

Initializes a new instance of the Contact class with the specified key.

Declaration
public Contact(Guid key)
Parameters
Type Name Description
Guid key

The Guid 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.

Contact()

Creates the new Contact object.

Declaration
public Contact()

Contact(SerializationInfo, StreamingContext)

Special constructor for deserialization.

Declaration
protected Contact(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
SerializationInfo info

The SerializationInfo.

StreamingContext context

The context information.