KitchenDraw SDK 2
Show / Hide Table of Contents

Method SetInfo

SetInfo(int, bool)

Writes the value to the arbitrary datafield specified by the infoType parameter.

Declaration
protected void SetInfo(int infoType, bool value)
Parameters
Type Name Description
int infoType

Datafield to set.

bool value

Value to set.

Remarks

This method is only useful for developing additional SDK layers working with some custom datafields which are not exposed through properties of this class yet. You should not use these functions unless you know exactly what you are doing.

Exceptions
Type Condition
Sdk2SetInfoException

If fails to set given value.

SetInfo(int, double)

Writes the value to the arbitrary datafield specified by the infoType parameter.

Declaration
protected void SetInfo(int infoType, double value)
Parameters
Type Name Description
int infoType

Datafield to set.

double value

Value to set.

Remarks

This method is only useful for developing additional SDK layers working with some custom datafields which are not exposed through properties of this class yet. You should not use these functions unless you know exactly what you are doing.

Exceptions
Type Condition
Sdk2SetInfoException

If fails to set given value.

SetInfo(int, int)

Writes the value to the arbitrary datafield specified by the infoType parameter.

Declaration
protected void SetInfo(int infoType, int value)
Parameters
Type Name Description
int infoType

Datafield to set.

int value

Value to set.

Remarks

This method is only useful for developing additional SDK layers working with some custom datafields which are not exposed through properties of this class yet. You should not use these functions unless you know exactly what you are doing.

Exceptions
Type Condition
Sdk2SetInfoException

If fails to set given value.

SetInfo(int, string)

Writes the value to the arbitrary datafield specified by the infoType parameter.

Declaration
protected void SetInfo(int infoType, string value)
Parameters
Type Name Description
int infoType

Datafield to set.

string value

Value to set.

Remarks

This method is only useful for developing additional SDK layers working with some custom datafields which are not exposed through properties of this class yet. You should not use these functions unless you know exactly what you are doing.

Exceptions
Type Condition
Sdk2SetInfoException

If fails to set given value.

In this article
Back to top Generated by DocFX