共用方式為


IVsPlatformReferenceProviderContext Interface

The context object used to initialize the platform reference provider.

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

Syntax

'Declaration
<GuidAttribute("E19BDA1E-41E3-47BA-8308-82D18F399D73")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsPlatformReferenceProviderContext _
    Inherits IVsReferenceProviderContext
[GuidAttribute("E19BDA1E-41E3-47BA-8308-82D18F399D73")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsPlatformReferenceProviderContext : IVsReferenceProviderContext
[GuidAttribute(L"E19BDA1E-41E3-47BA-8308-82D18F399D73")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsPlatformReferenceProviderContext : IVsReferenceProviderContext
[<GuidAttribute("E19BDA1E-41E3-47BA-8308-82D18F399D73")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsPlatformReferenceProviderContext =  
    interface 
        interface IVsReferenceProviderContext 
    end
public interface IVsPlatformReferenceProviderContext extends IVsReferenceProviderContext

The IVsPlatformReferenceProviderContext type exposes the following members.

Properties

  Name Description
Public property AssemblySearchPaths Gets or sets the paths to the loose extension assemblies.
Public property ExpandSDKContents Gets or sets whether to expand the software development kit (SDK) contents.
Public property IsImplicitlyReferenced Gets or sets whether it is unnecessary to show the Windows tab, which allows selection of core Windows Metadata (WinMDs), because they are implicitly referenced by the project system.
Public property ProviderGuid
Public property ReferenceFilterPaths
Public property References
Public property SDKDirectoryRoot Gets or sets he location on disk where unregistered software development kits (SDKs) are stored.
Public property SDKFilterKeywords Gets or sets a space-delimited list of the capabilities.
Public property SDKRegistryRoot Gets or sets the location where the software development kits (SDKs) are registered in the registry.
Public property Tabs Gets or sets the set of tabs to show. Defaults to all tabs.
Public property TargetFrameworkMoniker Gets or set the moniker of the target framework.
Public property TargetPlatformIdentifier Gets or sets the target platform identifier, which indicates where to find software development kit (SDK) references.
Public property TargetPlatformReferencesLocation Gets or sets the location of the platform references.
Public property TargetPlatformVersion Gets or sets the target platform version, which indicates to the user where the references come from.
Public property VisualStudioVersion Gets or sets the supported Visual Studio version (for example, Visual Studio 2012). Software development kits (SDKs) with a higher Visual Studio version are filtered out.

Top

Methods

  Name Description
Public method AddReference
Public method CreateReference
Public method GetNoItemsMessageForTab Retrieves the custom no items message for a particular tab.
Public method GetTabTitle Retrieves the tab title for each tab.
Public method SetNoItemsMessageForTab Sets the custom no items message for the specified tab.
Public method SetTabTitle Sets the tab title for each tab.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace