XmlCharacterData.InsertData(Int32, String) 方法    
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从指定的字符偏移量开始插入指定的字符串。
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)
	参数
- offset
 - Int32
 
字符串中插入所提供字符串数据的位置。
- strData
 - String
 
要插入现有字符串的字符串数据。
注解
此方法引发 XmlNodeChangedAction.Change 事件。
继承者说明
在派生类中重写 InsertData 时,若要正确引发事件,必须自行引发事件或调用此方法的基版本。