Share via


AssemblyAlgorithmIdAttribute 建構函式

定義

初始化 AssemblyAlgorithmIdAttribute 類別的新執行個體。

多載

AssemblyAlgorithmIdAttribute(AssemblyHashAlgorithm)

使用其中一個 AssemblyAlgorithmIdAttribute 成員表示雜湊演算法,以指定的雜湊演算法初始化 AssemblyHashAlgorithm 類別新執行個體。

AssemblyAlgorithmIdAttribute(UInt32)

使用不帶正負號的整數 (Unsigned Integer) 表示雜湊演算法,以指定的雜湊演算法初始化 AssemblyAlgorithmIdAttribute 類別新執行個體。

AssemblyAlgorithmIdAttribute(AssemblyHashAlgorithm)

來源:
AssemblyAlgorithmIdAttribute.cs
來源:
AssemblyAlgorithmIdAttribute.cs
來源:
AssemblyAlgorithmIdAttribute.cs

使用其中一個 AssemblyAlgorithmIdAttribute 成員表示雜湊演算法,以指定的雜湊演算法初始化 AssemblyHashAlgorithm 類別新執行個體。

public:
 AssemblyAlgorithmIdAttribute(System::Configuration::Assemblies::AssemblyHashAlgorithm algorithmId);
public AssemblyAlgorithmIdAttribute (System.Configuration.Assemblies.AssemblyHashAlgorithm algorithmId);
new System.Reflection.AssemblyAlgorithmIdAttribute : System.Configuration.Assemblies.AssemblyHashAlgorithm -> System.Reflection.AssemblyAlgorithmIdAttribute
Public Sub New (algorithmId As AssemblyHashAlgorithm)

參數

algorithmId
AssemblyHashAlgorithm

AssemblyHashAlgorithm 的成員,表示雜湊演算法。

適用於

AssemblyAlgorithmIdAttribute(UInt32)

來源:
AssemblyAlgorithmIdAttribute.cs
來源:
AssemblyAlgorithmIdAttribute.cs
來源:
AssemblyAlgorithmIdAttribute.cs

重要

此 API 不符合 CLS 規範。

使用不帶正負號的整數 (Unsigned Integer) 表示雜湊演算法,以指定的雜湊演算法初始化 AssemblyAlgorithmIdAttribute 類別新執行個體。

public:
 AssemblyAlgorithmIdAttribute(System::UInt32 algorithmId);
[System.CLSCompliant(false)]
public AssemblyAlgorithmIdAttribute (uint algorithmId);
[<System.CLSCompliant(false)>]
new System.Reflection.AssemblyAlgorithmIdAttribute : uint32 -> System.Reflection.AssemblyAlgorithmIdAttribute
Public Sub New (algorithmId As UInteger)

參數

algorithmId
UInt32

不帶正負號的整數,表示雜湊演算法。

屬性

適用於