SectionInformation.GetRawXml Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
The XML representation for this configuration section.
Exceptions
This configuration object is locked and cannot be edited.
Examples
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
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET