編輯

共用方式為


ConfigurationSectionGroup.Type Property

Definition

Gets or sets the type for this ConfigurationSectionGroup object.

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

Property Value

The type of this ConfigurationSectionGroup object.

Exceptions

The ConfigurationSectionGroup object is the root section group.

-or-

The ConfigurationSectionGroup object has a location.

The section or group is already defined at another level.

Examples

The following code example shows how to use the Type property. This is part of a larger example provided in the overview for the ConfigurationSectionGroup class.

indent("Type: " + sectionGroup.Type);
indent("Type: " + sectionGroup.Type)

Remarks

If this instance of the ConfigurationSectionGroup class is a derived type, the Type property will return the name of the derived type that extends the ConfigurationSectionGroup class.

Applies to

See also