CompositionContainer.ReleaseExports メソッド

定義

オーバーロード

名前 説明
ReleaseExports(IEnumerable<Export>)

Exportから一連の CompositionContainer オブジェクトを解放します。

ReleaseExports<T,TMetadataView>(IEnumerable<Lazy<T,TMetadataView>>)

コンポジションからエクスポートのコレクションを削除し、可能な場合はリソースを解放します。

ReleaseExports<T>(IEnumerable<Lazy<T>>)

コンポジションからエクスポートのコレクションを削除し、可能な場合はリソースを解放します。

ReleaseExports(IEnumerable<Export>)

Exportから一連の CompositionContainer オブジェクトを解放します。

public:
 void ReleaseExports(System::Collections::Generic::IEnumerable<System::ComponentModel::Composition::Primitives::Export ^> ^ exports);
public void ReleaseExports(System.Collections.Generic.IEnumerable<System.ComponentModel.Composition.Primitives.Export> exports);
member this.ReleaseExports : seq<System.ComponentModel.Composition.Primitives.Export> -> unit
Public Sub ReleaseExports (exports As IEnumerable(Of Export))

パラメーター

exports
IEnumerable<Export>

解放する Export オブジェクトのコレクション。

例外

exportsnullです。

exports には、 nullされる要素が含まれています。

注釈

このメソッドの動作は、 Export が構築されたコンテキストによって異なる場合があります。 詳細については、 ReleaseExport メソッドを参照してください。

適用対象

ReleaseExports<T,TMetadataView>(IEnumerable<Lazy<T,TMetadataView>>)

コンポジションからエクスポートのコレクションを削除し、可能な場合はリソースを解放します。

public:
generic <typename T, typename TMetadataView>
 void ReleaseExports(System::Collections::Generic::IEnumerable<Lazy<T, TMetadataView> ^> ^ exports);
public void ReleaseExports<T,TMetadataView>(System.Collections.Generic.IEnumerable<Lazy<T,TMetadataView>> exports);
member this.ReleaseExports : seq<Lazy<'T, 'MetadataView>> -> unit
Public Sub ReleaseExports(Of T, TMetadataView) (exports As IEnumerable(Of Lazy(Of T, TMetadataView)))

型パラメーター

T

エクスポートの種類。

TMetadataView

エクスポートのメタデータ ビューの種類。

パラメーター

exports
IEnumerable<Lazy<T,TMetadataView>>

削除するエクスポートとそのメタデータへの間接参照のコレクション。

例外

exportsnullです。

exports には、 nullされる要素が含まれています。

適用対象

ReleaseExports<T>(IEnumerable<Lazy<T>>)

コンポジションからエクスポートのコレクションを削除し、可能な場合はリソースを解放します。

public:
generic <typename T>
 void ReleaseExports(System::Collections::Generic::IEnumerable<Lazy<T> ^> ^ exports);
public void ReleaseExports<T>(System.Collections.Generic.IEnumerable<Lazy<T>> exports);
member this.ReleaseExports : seq<Lazy<'T>> -> unit
Public Sub ReleaseExports(Of T) (exports As IEnumerable(Of Lazy(Of T)))

型パラメーター

T

エクスポートの種類。

パラメーター

exports
IEnumerable<Lazy<T>>

削除するエクスポートへの間接参照のコレクション。

例外

exportsnullです。

exports には、 nullされる要素が含まれています。

適用対象