DataTree.ReadInteger
Attemts to read integer data from the specified ket/value.
[C++]
bool ReadInteger(char* Key, char* ValueName, long DefValue, long& Value);
[Pascal]
function ReadInteger(Key : string; ValueName : string; DefValue : integer; var Value : integer): Boolean;
[VB6]
not applicable;
[ActiveX]
not applicable;
[C#]
public bool ReadInteger(string Key, string ValueName, int DefValue,ref int Value);
[VB.NET]
Public Function ReadInteger(ByVal Key As String, ByVal ValueName As String, ByVal DefValue As Integer, ByRef Value As Integer) As Boolean
[Java]
public boolean ReadInteger(String Key, String ValueName, int DefValue,Integer Value);
[Java ME]
public boolean ReadInteger(String Key, String ValueName, int DefValue,Integer Value);
[Palm]
bool ReadInteger(char* Key, char* ValueName, long DefValue, long& Value);
[DLL]
not applicable;
- Key - key name. For more information look here.
- ValueName - value name. For more information look here.
- DefValue - set here the value that will be returned on failure.
- Value - returns read value on success or DefValue on failure.
True on success.
False on failure.
Use this method to read integer data from the specified key/value. Sets Value and returns True on success or sets Value to DefValue and returns False on failure.
|