Method TrySetInfo
TrySetInfo(int, bool)
Writes the value to the arbitrary datafield specified by the infoType parameter.
Declaration
protected bool TrySetInfo(int infoType, bool value)
Parameters
Type | Name | Description |
---|---|---|
int | infoType | Datafield to set. |
bool | value | Value to set. |
Returns
Type | Description |
---|---|
bool |
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. |
TrySetInfo(int, double)
Writes the value to the arbitrary datafield specified by the infoType parameter.
Declaration
protected bool TrySetInfo(int infoType, double value)
Parameters
Type | Name | Description |
---|---|---|
int | infoType | Datafield to set. |
double | value | Value to set. |
Returns
Type | Description |
---|---|
bool |
|
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.
TrySetInfo(int, int)
Writes the value to the arbitrary datafield specified by the infoType parameter.
Declaration
protected bool TrySetInfo(int infoType, int value)
Parameters
Type | Name | Description |
---|---|---|
int | infoType | Datafield to set. |
int | value | Value to set. |
Returns
Type | Description |
---|---|
bool |
|
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.
TrySetInfo(int, string)
Writes the value to the arbitrary datafield specified by the infoType parameter.
Declaration
protected bool TrySetInfo(int infoType, string value)
Parameters
Type | Name | Description |
---|---|---|
int | infoType | Datafield to set. |
string | value | Value to set. |
Returns
Type | Description |
---|---|
bool |
|
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.