SectionInformation.GetRawXml Método
Definição
Retorna um objeto de nó XML que representa o objeto da seção de configuração associada.Returns an XML node object that represents the associated configuration-section object.
public:
System::String ^ GetRawXml();
public string GetRawXml ();
member this.GetRawXml : unit -> string
Public Function GetRawXml () As String
Retornos
A representação XML desta seção de configuração.The XML representation for this configuration section.
Exceções
Esse objeto de configuração está bloqueado e não pode ser editado.This configuration object is locked and cannot be edited.
Exemplos
O exemplo a seguir mostra como usar o método GetRawXml.The following example shows how to use the GetRawXml method.
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