System.Web.HttpContext.GetSection C# (CSharp) Method

GetSection() public method

public GetSection ( string name ) : object
name string
return object
		public object GetSection (string name)
		{
			return WebConfigurationManager.GetSection (name);
		}

Usage Example

示例#1
0
		public ServiceHostParser (string file, string url, HttpContext context)
		{
			this.file = file;
			this.url = url;
			assemblies = new ArrayList ();
			assemblies.Add ("System.ServiceModel");
			this.context = context;
			CompilationSection section = (CompilationSection) context.GetSection ("system.web/compilation");
			language = section.DefaultLanguage;
		}
All Usage Examples Of System.Web.HttpContext::GetSection