ConfigurationSectionGroup.Type Propriedade

Definição

Obtém ou define o tipo para este ConfigurationSectionGroup objeto.

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

Valor de Propriedade

O tipo deste ConfigurationSectionGroup objeto.

Exceções

O ConfigurationSectionGroup objeto é o grupo da secção raiz.

-ou-

O ConfigurationSectionGroup objeto tem uma localização.

A secção ou grupo já está definido noutro nível.

Exemplos

O seguinte exemplo de código mostra como usar a Type propriedade. Isto faz parte de um exemplo mais amplo apresentado na visão geral da ConfigurationSectionGroup aula.

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

Observações

Se esta instância da ConfigurationSectionGroup classe for um tipo derivado, a Type propriedade devolverá o nome do tipo derivado que estende a ConfigurationSectionGroup classe.

Aplica-se a

Ver também