CompositionContainer.ReleaseExports メソッド

定義

オーバーロード

ReleaseExports(IEnumerable<Export>)

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

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

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

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

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

ReleaseExports(IEnumerable<Export>)

ソース:
CompositionContainer.cs
ソース:
CompositionContainer.cs
ソース:
CompositionContainer.cs

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>>)

ソース:
CompositionContainer.cs
ソース:
CompositionContainer.cs
ソース:
CompositionContainer.cs

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

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>>)

ソース:
CompositionContainer.cs
ソース:
CompositionContainer.cs
ソース:
CompositionContainer.cs

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

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 の要素が含まれています。

適用対象