ScopingExtensions.Exports(ComposablePartDefinition, String) Metódus

Definíció

Olyan értéket kap, amely jelzi, hogy a megadott rész exportálja-e a megadott szerződést.

public:
[System::Runtime::CompilerServices::Extension]
 static bool Exports(System::ComponentModel::Composition::Primitives::ComposablePartDefinition ^ part, System::String ^ contractName);
public static bool Exports(this System.ComponentModel.Composition.Primitives.ComposablePartDefinition part, string contractName);
static member Exports : System.ComponentModel.Composition.Primitives.ComposablePartDefinition * string -> bool
<Extension()>
Public Function Exports (part As ComposablePartDefinition, contractName As String) As Boolean

Paraméterek

part
ComposablePartDefinition

A keresendő rész.

contractName
String

A szerződés neve.

Válaszok

trueha part exportálja a megadott szerződést; ellenkező esetben. false

A következőre érvényes: