次の方法で共有


ExportProvider.GetOrCreateValue Method

Definition

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

Parameters

originalPartTypeRef
TypeRef
constructedPartTypeRef
TypeRef
partSharingBoundary
String
nonSharedInstanceRequired
Boolean

Returns

Applies to