共用方式為


CryptographicAttributeObject 建構函式

定義

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

多載

CryptographicAttributeObject(Oid)

使用由指定 CryptographicAttributeObject 物件所表示的屬性,初始化 Oid 類別的新執行個體。

CryptographicAttributeObject(Oid, AsnEncodedDataCollection)

使用由指定 CryptographicAttributeObject 物件所表示的屬性,以及與指定 Oid 集合所表示的屬性關聯之數值集合,初始化 AsnEncodedDataCollection 類別的新執行個體。

CryptographicAttributeObject(Oid)

來源:
CryptographicAttributeObject.cs
來源:
CryptographicAttributeObject.cs
來源:
CryptographicAttributeObject.cs

使用由指定 CryptographicAttributeObject 物件所表示的屬性,初始化 Oid 類別的新執行個體。

public:
 CryptographicAttributeObject(System::Security::Cryptography::Oid ^ oid);
public CryptographicAttributeObject (System.Security.Cryptography.Oid oid);
new System.Security.Cryptography.CryptographicAttributeObject : System.Security.Cryptography.Oid -> System.Security.Cryptography.CryptographicAttributeObject
Public Sub New (oid As Oid)

參數

oid
Oid

要儲存在這個 CryptographicAttributeObject 物件中的屬性。

另請參閱

適用於

CryptographicAttributeObject(Oid, AsnEncodedDataCollection)

來源:
CryptographicAttributeObject.cs
來源:
CryptographicAttributeObject.cs
來源:
CryptographicAttributeObject.cs

使用由指定 CryptographicAttributeObject 物件所表示的屬性,以及與指定 Oid 集合所表示的屬性關聯之數值集合,初始化 AsnEncodedDataCollection 類別的新執行個體。

public:
 CryptographicAttributeObject(System::Security::Cryptography::Oid ^ oid, System::Security::Cryptography::AsnEncodedDataCollection ^ values);
public CryptographicAttributeObject (System.Security.Cryptography.Oid oid, System.Security.Cryptography.AsnEncodedDataCollection values);
public CryptographicAttributeObject (System.Security.Cryptography.Oid oid, System.Security.Cryptography.AsnEncodedDataCollection? values);
new System.Security.Cryptography.CryptographicAttributeObject : System.Security.Cryptography.Oid * System.Security.Cryptography.AsnEncodedDataCollection -> System.Security.Cryptography.CryptographicAttributeObject
Public Sub New (oid As Oid, values As AsnEncodedDataCollection)

參數

oid
Oid

要儲存在這個 CryptographicAttributeObject 物件中的屬性。

values
AsnEncodedDataCollection

oid 參數表示的屬性相關聯的一組值。

例外狀況

集合包含重複的項目。

另請參閱

適用於