Click or drag to resize
ProjectHelperReplaceMarkupAttr Method
Changes first occurrence of string to new value in text file.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
Syntax
C#
public static void ReplaceMarkupAttr(
	string inFile,
	string outFile,
	string oldValue,
	string newValue
)

Parameters

inFile
Type: SystemString
Input file
outFile
Type: SystemString
Output file
oldValue
Type: SystemString
String to be replaced
newValue
Type: SystemString
String to replace first occurrence
See Also