MarkAsSafe Method

Microsoft AntiXSS Library

Collapse imageExpand ImageCopy imageCopyHover image
Marks characters from the specified languages as safe.

Namespace: Microsoft.Security.Application
Assembly: AntiXssLibrary40 (in AntiXssLibrary40.dll) Version: 4.2.0.0

Syntax

C#
public static void MarkAsSafe(
	LowerCodeCharts lowerCodeCharts,
	LowerMidCodeCharts lowerMidCodeCharts,
	MidCodeCharts midCodeCharts,
	UpperMidCodeCharts upperMidCodeCharts,
	UpperCodeCharts upperCodeCharts
)
Visual Basic
Public Shared Sub MarkAsSafe ( _
	lowerCodeCharts As LowerCodeCharts, _
	lowerMidCodeCharts As LowerMidCodeCharts, _
	midCodeCharts As MidCodeCharts, _
	upperMidCodeCharts As UpperMidCodeCharts, _
	upperCodeCharts As UpperCodeCharts _
)
Visual C++
public:
static void MarkAsSafe(
	LowerCodeCharts lowerCodeCharts, 
	LowerMidCodeCharts lowerMidCodeCharts, 
	MidCodeCharts midCodeCharts, 
	UpperMidCodeCharts upperMidCodeCharts, 
	UpperCodeCharts upperCodeCharts
)

Parameters

lowerCodeCharts
Type: Microsoft.Security.Application..::..LowerCodeCharts
The combination of lower code charts to use.
lowerMidCodeCharts
Type: Microsoft.Security.Application..::..LowerMidCodeCharts
The combination of lower mid code charts to use.
midCodeCharts
Type: Microsoft.Security.Application..::..MidCodeCharts
The combination of mid code charts to use.
upperMidCodeCharts
Type: Microsoft.Security.Application..::..UpperMidCodeCharts
The combination of upper mid code charts to use.
upperCodeCharts
Type: Microsoft.Security.Application..::..UpperCodeCharts
The combination of upper code charts to use.

Remarks

The safe list affects all HTML and XML encoding functions.

See Also