ElementSet Method (MElementClass)
type of the element
description of the element
time interval for changes in seconds
Changes the whole element.
Syntax
Public Overridable Sub ElementSet( _
   ByVal _bsElementType As String, _
   ByVal _bsXMLDescription As String, _
   ByVal _dblTimeForChange As Double _
) 
public procedure ElementSet( 
    _bsElementType: String;
    _bsXMLDescription: String;
    _dblTimeForChange: Double
); virtual; 
public: virtual void ElementSet( 
   BSTR* _bsElementType,
   BSTR* _bsXMLDescription,
   double _dblTimeForChange
) 

Parameters

_bsElementType
type of the element
_bsXMLDescription
description of the element
_dblTimeForChange
time interval for changes in seconds
Example
Dim myType As String
Dim myDescription As String
myOldElement.ElementGet(myType, myDescription)
Dim myNewElement As MElement
myNewElement.ElementSet(myType, myDescription, 2.0)
string myType;
string myDescription;
myOldElement.ElementGet(out myType, out myDescription);
MElement myNewElement;
myNewElement.ElementSet(myType, myDescription, 2.0);
myType, myDescription: string;
myNewElement: MElement;

myOldElement.ElementGet(myType, myDescription); 
myNewElement.ElementSet(myType, myDescription, 2.0);
See Also

Reference

MElementClass Class
MElementClass Members