ScopingExtensions.Exports(ComposablePartDefinition, String) Metodo

Definizione

Ottiene un valore che indica se la parte specificata esporta il contratto specificato.

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

Parametri

part
ComposablePartDefinition

Parte in cui eseguire la ricerca.

contractName
String

Nome del contratto.

Restituisce

true se part esporta il contratto specificato; in caso contrario, false.

Si applica a