EldoS
MsgConnect home / Documentation / DataTree.SetValueType method
Navigation
Web site
Support
Table Of Contents

Filter: C++  Pascal  ActiveX  C#  VB.NET  Java SE  Java ME  Palm  DLL 


DataTree.SetValueType

DataTree     See also    


Allows to set the type of data that the Value holds.

Declaration

[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;

Parameters

  • Key - key name. For more information look here.
  • ValueName - value name. For more information look here.
  • NewType - specifies new data type.

Description

    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.

See also:     GetValueType     Save     SaveToStream    

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation