次の方法で共有


CollectionExtensions.GetRuntimeGroup メソッド

定義

Runtimeruntime に一致する最初の RuntimeAssetGroup を取得します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^ GetRuntimeGroup(System::Collections::Generic::IEnumerable<Microsoft::Extensions::DependencyModel::RuntimeAssetGroup ^> ^ self, System::String ^ runtime);
public static Microsoft.Extensions.DependencyModel.RuntimeAssetGroup GetRuntimeGroup (this System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> self, string runtime);
public static Microsoft.Extensions.DependencyModel.RuntimeAssetGroup? GetRuntimeGroup (this System.Collections.Generic.IEnumerable<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> self, string runtime);
static member GetRuntimeGroup : seq<Microsoft.Extensions.DependencyModel.RuntimeAssetGroup> * string -> Microsoft.Extensions.DependencyModel.RuntimeAssetGroup
<Extension()>
Public Function GetRuntimeGroup (self As IEnumerable(Of RuntimeAssetGroup), runtime As String) As RuntimeAssetGroup

パラメーター

self
IEnumerable<RuntimeAssetGroup>

RuntimeAssetGroup のソース列挙型。

runtime
String

検索対象の文字列。

戻り値

Runtimeruntime に一致する最初の RuntimeAssetGroup。存在しない場合は null

例外

runtimenull または空です。

適用対象