共用方式為


DynamicDependencyAttribute 建構函式

定義

多載

DynamicDependencyAttribute(String)

使用與取用者相同型別上成員的指定簽章,初始化 DynamicDependencyAttribute 類別的新實例。

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, Type)

使用 Type上指定的成員類型,初始化 DynamicDependencyAttribute 類別的新實例。

DynamicDependencyAttribute(String, Type)

使用 Type上成員的指定簽章,初始化 DynamicDependencyAttribute 類別的新實例。

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, String, String)

使用元件中型別上的指定成員類型,初始化 DynamicDependencyAttribute 類別的新實例。

DynamicDependencyAttribute(String, String, String)

使用元件中型別上成員的指定簽章,初始化 DynamicDependencyAttribute 類別的新實例。

DynamicDependencyAttribute(String)

來源:
DynamicDependencyAttribute.cs
來源:
DynamicDependencyAttribute.cs
來源:
DynamicDependencyAttribute.cs

使用與取用者相同型別上成員的指定簽章,初始化 DynamicDependencyAttribute 類別的新實例。

public:
 DynamicDependencyAttribute(System::String ^ memberSignature);
public DynamicDependencyAttribute (string memberSignature);
new System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute : string -> System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
Public Sub New (memberSignature As String)

參數

memberSignature
String

成員的簽章相依。

適用於

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, Type)

來源:
DynamicDependencyAttribute.cs
來源:
DynamicDependencyAttribute.cs
來源:
DynamicDependencyAttribute.cs

使用 Type上指定的成員類型,初始化 DynamicDependencyAttribute 類別的新實例。

public:
 DynamicDependencyAttribute(System::Diagnostics::CodeAnalysis::DynamicallyAccessedMemberTypes memberTypes, Type ^ type);
public DynamicDependencyAttribute (System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes memberTypes, Type type);
new System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute : System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes * Type -> System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
Public Sub New (memberTypes As DynamicallyAccessedMemberTypes, type As Type)

參數

memberTypes
DynamicallyAccessedMemberTypes

成員的類型相依。

type
Type

包含指定成員的類型。

適用於

DynamicDependencyAttribute(String, Type)

來源:
DynamicDependencyAttribute.cs
來源:
DynamicDependencyAttribute.cs
來源:
DynamicDependencyAttribute.cs

使用 Type上成員的指定簽章,初始化 DynamicDependencyAttribute 類別的新實例。

public:
 DynamicDependencyAttribute(System::String ^ memberSignature, Type ^ type);
public DynamicDependencyAttribute (string memberSignature, Type type);
new System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute : string * Type -> System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
Public Sub New (memberSignature As String, type As Type)

參數

memberSignature
String

成員的簽章相依。

type
Type

包含 memberSignature的類型。

適用於

DynamicDependencyAttribute(DynamicallyAccessedMemberTypes, String, String)

來源:
DynamicDependencyAttribute.cs
來源:
DynamicDependencyAttribute.cs
來源:
DynamicDependencyAttribute.cs

使用元件中型別上的指定成員類型,初始化 DynamicDependencyAttribute 類別的新實例。

public:
 DynamicDependencyAttribute(System::Diagnostics::CodeAnalysis::DynamicallyAccessedMemberTypes memberTypes, System::String ^ typeName, System::String ^ assemblyName);
public DynamicDependencyAttribute (System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes memberTypes, string typeName, string assemblyName);
new System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute : System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes * string * string -> System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
Public Sub New (memberTypes As DynamicallyAccessedMemberTypes, typeName As String, assemblyName As String)

參數

memberTypes
DynamicallyAccessedMemberTypes

成員的類型相依。

typeName
String

包含指定成員之型別的完整名稱。

assemblyName
String

包含指定成員之型別的元件名稱。

適用於

DynamicDependencyAttribute(String, String, String)

來源:
DynamicDependencyAttribute.cs
來源:
DynamicDependencyAttribute.cs
來源:
DynamicDependencyAttribute.cs

使用元件中型別上成員的指定簽章,初始化 DynamicDependencyAttribute 類別的新實例。

public:
 DynamicDependencyAttribute(System::String ^ memberSignature, System::String ^ typeName, System::String ^ assemblyName);
public DynamicDependencyAttribute (string memberSignature, string typeName, string assemblyName);
new System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute : string * string * string -> System.Diagnostics.CodeAnalysis.DynamicDependencyAttribute
Public Sub New (memberSignature As String, typeName As String, assemblyName As String)

參數

memberSignature
String

成員的簽章相依。

typeName
String

包含指定成員之型別的完整名稱。

assemblyName
String

包含指定成員之型別的元件名稱。

適用於