Freigeben über


CodeAttributeDeclaration-Konstruktor (String, CodeAttributeArgument )

Initialisiert eine neue Instanz der CodeAttributeDeclaration-Klasse unter Verwendung des angegebenen Namens und Arguments.

Namespace: System.CodeDom
Assembly: System (in system.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    ParamArray arguments As CodeAttributeArgument() _
)
'Usage
Dim name As String
Dim arguments As CodeAttributeArgument()

Dim instance As New CodeAttributeDeclaration(name, arguments)
public CodeAttributeDeclaration (
    string name,
    params CodeAttributeArgument[] arguments
)
public:
CodeAttributeDeclaration (
    String^ name, 
    ... array<CodeAttributeArgument^>^ arguments
)
public CodeAttributeDeclaration (
    String name, 
    CodeAttributeArgument[] arguments
)
public function CodeAttributeDeclaration (
    name : String, 
    ... arguments : CodeAttributeArgument[]
)

Parameter

  • name
    Der Name des Attributs.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, 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

Siehe auch

Referenz

CodeAttributeDeclaration-Klasse
CodeAttributeDeclaration-Member
System.CodeDom-Namespace