C
Curious
I want to assign "textString" of type string to an Emelent object,
element. However, the syntaxt for the assignment is:
string string textString = "My new text";
Element element = reader.Next();
// Next I'll need to use SetTextData to set the textString to element
(syntax below). However, SetTextData method requires two parameters,
byte[], and an integer for the size of the byte[]. Anyone can advise
me on how to get byte[] and text_data_size from textString?
element.SetTextData ( byte[], text_data_size );
Thanks!
element. However, the syntaxt for the assignment is:
string string textString = "My new text";
Element element = reader.Next();
// Next I'll need to use SetTextData to set the textString to element
(syntax below). However, SetTextData method requires two parameters,
byte[], and an integer for the size of the byte[]. Anyone can advise
me on how to get byte[] and text_data_size from textString?
element.SetTextData ( byte[], text_data_size );
Thanks!