Visual Basic (Declaration) | |
---|---|
Public Shared Function AddAttributeField( _ ByVal parent As XmlSchemaObject, _ ByVal name As String, _ ByVal type As String, _ ByVal required As Required, _ ByVal defaultValue As String _ ) As XmlSchemaObject |
Visual Basic (Usage) | ![]() |
---|---|
Dim parent As XmlSchemaObject Dim name As String Dim type As String Dim required As Required Dim defaultValue As String Dim value As XmlSchemaObject value = SchemaHelper.AddAttributeField(parent, name, type, required, defaultValue) |
C# | |
---|---|
public static XmlSchemaObject AddAttributeField( XmlSchemaObject parent, string name, string type, Required required, string defaultValue ) |
C++/CLI | |
---|---|
public: static XmlSchemaObject^ AddAttributeField( XmlSchemaObject^ parent, String^ name, String^ type, Required required, String^ defaultValue ) |
Parameters
- parent
- name
- type
- required
- defaultValue
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2