Mega Code Archive

 
Categories / VB.Net / XML
 

XmlSchemaAttribute Class represents the attribute element from the XML Schema

Option Explicit On Option Strict On Imports System Imports System.Xml Imports System.Xml.Schema Class XMLSchemaExamples     Public Shared Sub Main()         Dim schema As New XmlSchema()         Dim attributeBase As New XmlSchemaAttribute()         schema.Items.Add(attributeBase)         attributeBase.Name = "mybaseattribute"     End Sub 'Main End Class 'XMLSchemaExamples