Freigeben über


XmlSchemaAttribute.Form-Eigenschaft

Ruft die Form für das Attribut ab oder legt dieses fest.

Namespace: System.Xml.Schema
Assembly: System.Xml (in system.xml.dll)

Syntax

'Declaration
Public Property Form As XmlSchemaForm
'Usage
Dim instance As XmlSchemaAttribute
Dim value As XmlSchemaForm

value = instance.Form

instance.Form = value
public XmlSchemaForm Form { get; set; }
public:
property XmlSchemaForm Form {
    XmlSchemaForm get ();
    void set (XmlSchemaForm value);
}
/** @property */
public XmlSchemaForm get_Form ()

/** @property */
public void set_Form (XmlSchemaForm value)
public function get Form () : XmlSchemaForm

public function set Form (value : XmlSchemaForm)

Eigenschaftenwert

Einer der XmlSchemaForm-Werte. Der Standardwert ist der Wert von XmlSchema.AttributeFormDefault des Schemaelements, das das Attribut enthält. Optional.

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0

Siehe auch

Referenz

XmlSchemaAttribute-Klasse
XmlSchemaAttribute-Member
System.Xml.Schema-Namespace