更新:2007 年 11 月
命名空间:
System.Configuration 程序集:
System.Configuration(在 System.Configuration.dll 中)
Public Property Type As String
Dim instance As ConfigurationSectionGroup
Dim value As String
value = instance.Type
instance.Type = value
public string Type { get; set; }
public:
property String^ Type {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_Type()
/** @property */
public void set_Type(String value)
public function get Type () : String
public function set Type (value : String)
如果 ConfigurationSectionGroup 类的这一实例为派生类型,则 Type 属性将返回扩展 ConfigurationSectionGroup 类的派生类型的名称。
下面的代码示例演示如何使用 Type 属性 (Property)。
Console.WriteLine((getSpacer() + _
"Type: " + sectionGroup.Type))
Console.WriteLine(getSpacer() +
"Type: " + sectionGroup.Type);
Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
.NET Framework
受以下版本支持:3.5、3.0、2.0
参考