AssemblyAlgorithmIdAttribute 构造函数

定义

初始化 AssemblyAlgorithmIdAttribute 类的新实例。

重载

名称 说明
AssemblyAlgorithmIdAttribute(AssemblyHashAlgorithm)

使用指定哈希算法初始化类的新实例 AssemblyAlgorithmIdAttribute ,并使用表示哈希算法的成员 AssemblyHashAlgorithm 之一。

AssemblyAlgorithmIdAttribute(UInt32)

使用指定的哈希算法初始化类的新实例 AssemblyAlgorithmIdAttribute ,并使用无符号整数来表示哈希算法。

AssemblyAlgorithmIdAttribute(AssemblyHashAlgorithm)

Source:
AssemblyAlgorithmIdAttribute.cs
Source:
AssemblyAlgorithmIdAttribute.cs
Source:
AssemblyAlgorithmIdAttribute.cs
Source:
AssemblyAlgorithmIdAttribute.cs
Source:
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)

Source:
AssemblyAlgorithmIdAttribute.cs
Source:
AssemblyAlgorithmIdAttribute.cs
Source:
AssemblyAlgorithmIdAttribute.cs
Source:
AssemblyAlgorithmIdAttribute.cs
Source:
AssemblyAlgorithmIdAttribute.cs

重要

此 API 不符合 CLS。

使用指定的哈希算法初始化类的新实例 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

表示哈希算法的无符号整数。

属性

适用于