共用方式為


DiscoveryVersion.FromName(String) 方法

定義

取得指定的探索版本。

public:
 static System::ServiceModel::Discovery::DiscoveryVersion ^ FromName(System::String ^ name);
public static System.ServiceModel.Discovery.DiscoveryVersion FromName (string name);
static member FromName : string -> System.ServiceModel.Discovery.DiscoveryVersion
Public Shared Function FromName (name As String) As DiscoveryVersion

參數

name
String

要求的探索版本名稱。

傳回

DiscoveryVersion

探索版本。

適用於