OpenTypeMethods.Replace Method (Object, Object, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Replaces one substring with a second substring in a target string.

Namespace:   System.Data.Services.Providers
Assembly:  System.Data.Services (in System.Data.Services.dll)

public static object Replace(
	object targetString,
	object substring,
	object newString
)

Parameters

targetString
Type: System.Object

The string with the substring to replace.

substring
Type: System.Object

The substring to be replaced.

newString
Type: System.Object

The new substring.

Return Value

Type: System.Object

A new string with the substring replaced with the new substring.

.NET Framework
Available since 3.5
Return to top
Show: