次の方法で共有


ExportProvider.GetOrCreateShareableValue Method

Definition

protected Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker GetOrCreateShareableValue (Microsoft.VisualStudio.Composition.Reflection.TypeRef originalPartTypeRef, Microsoft.VisualStudio.Composition.Reflection.TypeRef constructedPartTypeRef, string partSharingBoundary, System.Collections.Generic.IReadOnlyDictionary<string,object> importMetadata);
member this.GetOrCreateShareableValue : Microsoft.VisualStudio.Composition.Reflection.TypeRef * Microsoft.VisualStudio.Composition.Reflection.TypeRef * string * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.VisualStudio.Composition.ExportProvider.PartLifecycleTracker
Protected Function GetOrCreateShareableValue (originalPartTypeRef As TypeRef, constructedPartTypeRef As TypeRef, partSharingBoundary As String, importMetadata As IReadOnlyDictionary(Of String, Object)) As ExportProvider.PartLifecycleTracker

Parameters

originalPartTypeRef
TypeRef
constructedPartTypeRef
TypeRef
partSharingBoundary
String

Returns

Applies to