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: 12.0.0
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