Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic

C#
Visual Basic

Azuki 1.7 Documentation
Document..::..Replace Method (String, Int32, Int32)
Document Class See Also Send Feedback

Replaces specified range [begin, end) of the content into the given string.

Namespace: Sgry.Azuki
Assembly: Azuki (in Azuki.dll) Version: 1.7.13.40248

# Syntax

C#
    public void Replace(
    	string text,
    	int begin,
    	int end
    )

Visual Basic
    Public Sub Replace (
    	text As String,
    	begin As Integer,
    	end As Integer
    )

#### Parameters

text
  Type: System..::..String
  specified range will be replaced with this text

begin
  Type: System..::..Int32
  begin index of the range to be replaced

end
  Type: System..::..Int32
  end index of the range to be replaced

# Exceptions

Exception | Condition
--- | ---
System..::..ArgumentNullException | Parameter text is null.
System..::..ArgumentOutOfRangeException | Specified index is out of valid range.

# See Also

Document Class
Document..::..Document Members
Replace Overload
Sgry.Azuki Namespace