共用方式為


IVsAssemblyNameUnification Interface

Returns the name of the unified assembly based on the simple and full names the loader uses, and the .NET framework assemblies list (FrameworkList.xml). Use the SVsAssemblyNameUnification (SID_SvsAssemblyNameUnification) service to get an instance of the interface.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("F33D7D20-49CE-47A7-9E3B-DCC9DD19AF00")> _
Public Interface IVsAssemblyNameUnification
'用途
Dim instance As IVsAssemblyNameUnification
[InterfaceTypeAttribute()]
[GuidAttribute("F33D7D20-49CE-47A7-9E3B-DCC9DD19AF00")]
public interface IVsAssemblyNameUnification
[InterfaceTypeAttribute()]
[GuidAttribute(L"F33D7D20-49CE-47A7-9E3B-DCC9DD19AF00")]
public interface class IVsAssemblyNameUnification
[<InterfaceTypeAttribute()>]
[<GuidAttribute("F33D7D20-49CE-47A7-9E3B-DCC9DD19AF00")>]
type IVsAssemblyNameUnification =  interface end
public interface IVsAssemblyNameUnification

Remarks

Because of unification, the .NET process of determining component versions in a multiple-version environment, an assembly used may not be the one expected. You can find the assembly actually in use through this interface.

See Also

Reference

IVsAssemblyNameUnification Members

Microsoft.VisualStudio.Shell.Interop Namespace