SectionInformation.GetRawXml Método

Definición

Devuelve un objeto de nodo XML que representa el objeto de sección de configuración asociado.

public:
 System::String ^ GetRawXml();
public string GetRawXml ();
member this.GetRawXml : unit -> string
Public Function GetRawXml () As String

Devoluciones

Representación XML de esta sección de configuración.

Excepciones

Este objeto de configuración está bloqueado y no se puede editar.

Ejemplos

En el siguiente ejemplo, se muestra cómo utilizar el método GetRawXml.

static public void GetSectionXml()
{
    SectionInformation sInfo =
        GetSectionInformation();

    string sectionXml =
        sInfo.GetRawXml();

    Console.WriteLine("Section xml:");
    Console.WriteLine(sectionXml);
}
Public Shared Sub GetSectionXml()

    Dim sInfo As SectionInformation = _
    GetSectionInformation()

    Dim sectionXml As String = sInfo.GetRawXml()

    Console.WriteLine("Section xml:")
    Console.WriteLine(sectionXml)

End Sub

Se aplica a