Compartilhar via


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 da propriedade

O tipo desse ConfigurationSectionGroup objeto.

Exceções

O ConfigurationSectionGroup objeto é o grupo de seções raiz.

- ou -

O ConfigurationSectionGroup objeto tem um local.

A seção ou grupo já está definido em outro nível.

Exemplos

O exemplo de código a seguir mostra como usar a Type propriedade. Isso faz parte de um exemplo maior fornecido na visão geral da ConfigurationSectionGroup classe.

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

Comentários

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

Aplica-se a

Confira também