System.Configuration.MgmtConfigurationRecord.GetRawXml C# (CSharp) 메소드

GetRawXml() 개인적인 메소드

private GetRawXml ( string configKey ) : string
configKey string
리턴 string
        internal string GetRawXml(string configKey) {
            // Get the section record created during Init
            SectionRecord sectionRecord = GetSectionRecord(configKey, false);
            if (sectionRecord == null || !sectionRecord.HasFileInput) {
                return null;
            }

            // The section exists, so find and return its RawXml.
            string [] keys = configKey.Split(ConfigPathSeparatorParams);
            ConfigXmlReader reader = GetSectionXmlReader(keys, sectionRecord.FileInput);

            return reader.RawXml;
        }