DataTree.SetValueType
Allows to set the type of data that the Value holds.
[C++]
void SetValueType(char* Key, char* ValueName,
MCValueType NewType);
[Pascal]
procedure SetValueType(Key, ValueName : string;
NewType : TMCValueType);
[VB6]
not applicable;
[ActiveX]
not applicable;
[C#]
public void SetValueType(string Key, string ValueName, byte NewType);
[VB.NET]
Public Sub SetValueType(ByVal Key As String, ByVal ValueName As String, ByVal NewType As Byte)
[Java]
public void SetValueType(String Key, String ValueName, byte NewType);
[Java ME]
public void SetValueType(String Key, String ValueName, byte NewType);
[Palm]
void SetValueType(char* Key, char* ValueName,
MCValueType NewType);
[DLL]
not applicable;
- Key - key name. For more information look here.
- ValueName - value name. For more information look here.
- NewType - specifies new data type.
Use this method to change type of the data that the Value holds or to create new value with specified data type. When setting type of the value all previously hold data are lost. SetValueType creates a value if it doesn't exist.
|