ComposablePart.GetExportedValue(ExportDefinition) 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 the exported object described by the specified ExportDefinition object.
public:
abstract System::Object ^ GetExportedValue(System::ComponentModel::Composition::Primitives::ExportDefinition ^ definition);
public abstract object? GetExportedValue (System.ComponentModel.Composition.Primitives.ExportDefinition definition);
public abstract object GetExportedValue (System.ComponentModel.Composition.Primitives.ExportDefinition definition);
abstract member GetExportedValue : System.ComponentModel.Composition.Primitives.ExportDefinition -> obj
Public MustOverride Function GetExportedValue (definition As ExportDefinition) As Object
Parameters
- definition
- ExportDefinition
One of the ExportDefinition objects from the ExportDefinitions property that describes the exported object to return.
Returns
The exported object described by definition
.
Exceptions
The ComposablePart object has been disposed of.
definition
is null
.
An error occurred getting the exported object described by the ExportDefinition.
definition
did not originate from the ExportDefinitions property on the ComposablePart.
One or more prerequisite imports, indicated by IsPrerequisite, have not been set.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示