System.Xml.Serialization.XmlCodeExporter.ExportAttribute C# (CSharp) Method

ExportAttribute() public method

public ExportAttribute ( CodeAttributeDeclarationCollection metadata, string name, string ns, TypeDesc typeDesc, TypeDesc dataTypeDesc, XmlSchemaForm form ) : void
metadata System.CodeDom.CodeAttributeDeclarationCollection
name string
ns string
typeDesc TypeDesc
dataTypeDesc TypeDesc
form XmlSchemaForm
return void
        void ExportAttribute(CodeAttributeDeclarationCollection metadata, string name, string ns, TypeDesc typeDesc, TypeDesc dataTypeDesc, XmlSchemaForm form) {
            ExportMetadata(metadata, typeof(XmlAttributeAttribute), name, ns, typeDesc, dataTypeDesc, null, form, 0, -1);
        }