System.Data.XmlSchemaWriter.AddExtendedPropertyAttributes C# (CSharp) 메소드

AddExtendedPropertyAttributes() 개인적인 메소드

private AddExtendedPropertyAttributes ( PropertyCollection props ) : void
props PropertyCollection
리턴 void
		private void AddExtendedPropertyAttributes (PropertyCollection props)
		{
			// add extended properties to xs:element
			foreach (DictionaryEntry de in props) {
				w.WriteStartAttribute (
					XmlConstants.MspropPrefix,
					XmlConvert.EncodeName (de.Key.ToString ()),
					XmlConstants.MspropNamespace);
				if (de.Value != null)
					w.WriteString (
						DataSet.WriteObjectXml (de.Value));
				w.WriteEndAttribute ();
			}
		}