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 ();
			}
		}