CryptographicAttributeObject 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 CryptographicAttributeObject 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| CryptographicAttributeObject(Oid) |
使用指定CryptographicAttributeObject物件所代表的屬性初始化該類別的新Oid實例。 |
| CryptographicAttributeObject(Oid, AsnEncodedDataCollection) |
使用指定CryptographicAttributeObject物件所代表的屬性及與該Oid屬性相關的集合所代表的值集合,初始化類別的新AsnEncodedDataCollection實例。 |
CryptographicAttributeObject(Oid)
使用指定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物件所代表的屬性及與該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 參數所代表。
例外狀況
收藏中包含重複項目。