XmlCharacterData.InsertData(Int32, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Inserts the specified string at the specified character offset.
public:
virtual void InsertData(int offset, System::String ^ strData);
public virtual void InsertData (int offset, string strData);
public virtual void InsertData (int offset, string? strData);
abstract member InsertData : int * string -> unit
override this.InsertData : int * string -> unit
Public Overridable Sub InsertData (offset As Integer, strData As String)
Parameters
- offset
- Int32
The position within the string to insert the supplied string data.
- strData
- String
The string data that is to be inserted into the existing string.
Remarks
This method raises the XmlNodeChangedAction.Change event.
Notes to Inheritors
When overriding InsertData
in a derived class, in order for events to be raised correctly, you must either raise the event yourself or call the base version of this method.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru