共用方式為


Oid.FromFriendlyName(String, OidGroup) 方法

定義

藉由搜尋指定的群組,從 OID 易記名稱建立 Oid 物件。

public:
 static System::Security::Cryptography::Oid ^ FromFriendlyName(System::String ^ friendlyName, System::Security::Cryptography::OidGroup group);
public static System.Security.Cryptography.Oid FromFriendlyName (string friendlyName, System.Security.Cryptography.OidGroup group);
static member FromFriendlyName : string * System.Security.Cryptography.OidGroup -> System.Security.Cryptography.Oid
Public Shared Function FromFriendlyName (friendlyName As String, group As OidGroup) As Oid

參數

friendlyName
String

識別項的易記名稱。

group
OidGroup

要在其中搜尋的群組。

傳回

Oid

表示指定之 OID 的物件。

例外狀況

friendlyNamenull

找不到 OID。

適用於