ZennoLab Assemblies Documentation
SetContentPolicy Method (Instance)

Type: System.String

The type of policy. It can have a value "DirectLoad", "WhiteList", "BlockList".

Type: System.Collections.IEnumerable

Collection of domains for "WhiteList" or "BlockList" policy. Default value is null.

Type: System.Collections.IEnumerable

Collection of regular expressions for "WhiteList" or "BlockList" policy. Default value is null.

Sets the policy for browser content.
Syntax
public void SetContentPolicy( 
   string policy,
   IEnumerable<string> domains,
   IEnumerable<string> regexs
)

Parameters

policy

Type: System.String

The type of policy. It can have a value "DirectLoad", "WhiteList", "BlockList".

domains

Type: System.Collections.IEnumerable

Collection of domains for "WhiteList" or "BlockList" policy. Default value is null.

regexs

Type: System.Collections.IEnumerable

Collection of regular expressions for "WhiteList" or "BlockList" policy. Default value is null.

Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members

Send Feedback