ScopingExtensions.Exports(ComposablePartDefinition, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a value that indicates whether the specified part exports the specified contract.
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
Parameters
The part to search.
- contractName
- String
The name of the contract.
Returns
true
if part
exports the specified contract; otherwise, false
.
Applies to
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.