Summary
Creates a new
System.Xml.Schema.XmlSchemaAttribute instance.
- Assembly
- NAnt
.Core .dll - Namespace
- NAnt
.Core .Tasks - Containing Type
- NAntSchemaTask
Syntax
protected static XmlSchemaAttribute CreateXsdAttribute(string name, bool required)
Parameters
| Name | Type | Description |
|---|---|---|
| name | string | The name of the attribute. |
| required | bool | Value indicating whether the attribute should be required. |
Return Value
| Type | Description |
|---|---|
| XmlSchemaAttribute | The new System.Xml.Schema.XmlSchemaAttribute instance. |
