SectionInformation.Type 属性  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置该节的类名称。
public:
 property System::String ^ Type { System::String ^ get(); void set(System::String ^ value); };
	public string Type { get; set; }
	member this.Type : string with get, set
	Public Property Type As String
	属性值
与此 ConfigurationSection 节关联的类的名称。
例外
选定值为 null 或空字符串 ("")。
选定值与某个已定义的值冲突。
示例
以下示例演示如何获取 Type 对象的值 ConfigurationSection 。
static public void GetSectionType()
{
    SectionInformation sInfo =
        GetSectionInformation();
    string sectionType = sInfo.Type;
    Console.WriteLine("Section type: {0}", sectionType);
}
Public Shared Sub GetSectionType() 
    Dim sInfo As SectionInformation = _
    GetSectionInformation()
    
    Dim sectionType As String = sInfo.Type
    Console.WriteLine("Section type: {0}", _
    sectionType)
End Sub
	注解
属性 Type 返回处理此类实例的 ConfigurationSection 节类的名称。