Compartir a través de


ScopingExtensions.Exports(ComposablePartDefinition, String) Método

Definición

Obtiene un valor que indica si la parte especificada exporta el contrato especificado.

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

Parámetros

part
ComposablePartDefinition

Elemento que se va a buscar.

contractName
String

El nombre del contrato.

Devoluciones

true si part exporta el contrato especificado; si no, false.

Se aplica a