CodeAttributeDeclaration Konstruktory

Definice

Inicializuje novou instanci CodeAttributeDeclaration třídy .

Přetížení

CodeAttributeDeclaration()

Inicializuje novou instanci CodeAttributeDeclaration třídy .

CodeAttributeDeclaration(CodeTypeReference)

Inicializuje novou instanci CodeAttributeDeclaration třídy pomocí zadaného typu kódu odkaz.

CodeAttributeDeclaration(String)

Inicializuje novou instanci CodeAttributeDeclaration třídy pomocí zadaného názvu.

CodeAttributeDeclaration(CodeTypeReference, CodeAttributeArgument[])

Inicializuje novou instanci CodeAttributeDeclaration třídy pomocí zadaného typu kódu odkaz a argumenty.

CodeAttributeDeclaration(String, CodeAttributeArgument[])

Inicializuje novou instanci CodeAttributeDeclaration třídy pomocí zadaného názvu a argumentů.

CodeAttributeDeclaration()

Zdroj:
CodeAttributeDeclaration.cs
Zdroj:
CodeAttributeDeclaration.cs
Zdroj:
CodeAttributeDeclaration.cs

Inicializuje novou instanci CodeAttributeDeclaration třídy .

public:
 CodeAttributeDeclaration();
public CodeAttributeDeclaration ();
Public Sub New ()

Platí pro

CodeAttributeDeclaration(CodeTypeReference)

Zdroj:
CodeAttributeDeclaration.cs
Zdroj:
CodeAttributeDeclaration.cs
Zdroj:
CodeAttributeDeclaration.cs

Inicializuje novou instanci CodeAttributeDeclaration třídy pomocí zadaného typu kódu odkaz.

public:
 CodeAttributeDeclaration(System::CodeDom::CodeTypeReference ^ attributeType);
public CodeAttributeDeclaration (System.CodeDom.CodeTypeReference attributeType);
new System.CodeDom.CodeAttributeDeclaration : System.CodeDom.CodeTypeReference -> System.CodeDom.CodeAttributeDeclaration
Public Sub New (attributeType As CodeTypeReference)

Parametry

attributeType
CodeTypeReference

Vlastnost CodeTypeReference , která identifikuje atribut .

Poznámky

Parametr attributeType slouží k nastavení AttributeType vlastností a Name .

Viz také

Platí pro

CodeAttributeDeclaration(String)

Zdroj:
CodeAttributeDeclaration.cs
Zdroj:
CodeAttributeDeclaration.cs
Zdroj:
CodeAttributeDeclaration.cs

Inicializuje novou instanci CodeAttributeDeclaration třídy pomocí zadaného názvu.

public:
 CodeAttributeDeclaration(System::String ^ name);
public CodeAttributeDeclaration (string name);
new System.CodeDom.CodeAttributeDeclaration : string -> System.CodeDom.CodeAttributeDeclaration
Public Sub New (name As String)

Parametry

name
String

Název atributu

Platí pro

CodeAttributeDeclaration(CodeTypeReference, CodeAttributeArgument[])

Zdroj:
CodeAttributeDeclaration.cs
Zdroj:
CodeAttributeDeclaration.cs
Zdroj:
CodeAttributeDeclaration.cs

Inicializuje novou instanci CodeAttributeDeclaration třídy pomocí zadaného typu kódu odkaz a argumenty.

public:
 CodeAttributeDeclaration(System::CodeDom::CodeTypeReference ^ attributeType, ... cli::array <System::CodeDom::CodeAttributeArgument ^> ^ arguments);
public CodeAttributeDeclaration (System.CodeDom.CodeTypeReference attributeType, params System.CodeDom.CodeAttributeArgument[] arguments);
new System.CodeDom.CodeAttributeDeclaration : System.CodeDom.CodeTypeReference * System.CodeDom.CodeAttributeArgument[] -> System.CodeDom.CodeAttributeDeclaration
Public Sub New (attributeType As CodeTypeReference, ParamArray arguments As CodeAttributeArgument())

Parametry

attributeType
CodeTypeReference

Vlastnost CodeTypeReference , která identifikuje atribut .

arguments
CodeAttributeArgument[]

Pole typu CodeAttributeArgument , které obsahuje argumenty atributu .

Poznámky

Parametr attributeType slouží k nastavení AttributeType vlastností a Name a arguments parametr se používá k nastavení Arguments vlastnosti pro CodeAttributeDeclaration.

Viz také

Platí pro

CodeAttributeDeclaration(String, CodeAttributeArgument[])

Zdroj:
CodeAttributeDeclaration.cs
Zdroj:
CodeAttributeDeclaration.cs
Zdroj:
CodeAttributeDeclaration.cs

Inicializuje novou instanci CodeAttributeDeclaration třídy pomocí zadaného názvu a argumentů.

public:
 CodeAttributeDeclaration(System::String ^ name, ... cli::array <System::CodeDom::CodeAttributeArgument ^> ^ arguments);
public CodeAttributeDeclaration (string name, params System.CodeDom.CodeAttributeArgument[] arguments);
new System.CodeDom.CodeAttributeDeclaration : string * System.CodeDom.CodeAttributeArgument[] -> System.CodeDom.CodeAttributeDeclaration
Public Sub New (name As String, ParamArray arguments As CodeAttributeArgument())

Parametry

name
String

Název atributu

arguments
CodeAttributeArgument[]

Pole typu CodeAttributeArgument , které obsahuje argumenty atributu .

Platí pro