Mega Code Archive

 
Categories / VB.Net / XML
 

XmlSchemaAttributeGroup Class represents the attributeGroup element from the XML Schema

Option Strict On Option Explicit On Imports System Imports System.Xml Imports System.Xml.Schema Class XMLSchemaExamples     Public Shared Sub Main()         Dim schema As New XmlSchema()         Dim myAttributeGroup As New XmlSchemaAttributeGroup()         schema.Items.Add(myAttributeGroup)         myAttributeGroup.Name = "myAttributeGroup"         Dim someattribute1 As New XmlSchemaAttribute()         myAttributeGroup.Attributes.Add(someattribute1)         someattribute1.Name = "someattribute1"         someattribute1.SchemaTypeName = New XmlQualifiedName("integer", "http://www.w3.org/2001/XMLSchema")     End Sub 'Main End Class 'XMLSchemaExamples