共用方式為


IVsFileReferenceProviderContext Interface

The context object used to initialize the file 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("1D594BAA-05BC-4882-B118-4CA95AD56E41")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
Public Interface IVsFileReferenceProviderContext _
    Inherits IVsReferenceProviderContext
[GuidAttribute("1D594BAA-05BC-4882-B118-4CA95AD56E41")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFileReferenceProviderContext : IVsReferenceProviderContext
[GuidAttribute(L"1D594BAA-05BC-4882-B118-4CA95AD56E41")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
public interface class IVsFileReferenceProviderContext : IVsReferenceProviderContext
[<GuidAttribute("1D594BAA-05BC-4882-B118-4CA95AD56E41")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFileReferenceProviderContext =  
    interface 
        interface IVsReferenceProviderContext 
    end
public interface IVsFileReferenceProviderContext extends IVsReferenceProviderContext

The IVsFileReferenceProviderContext type exposes the following members.

Properties

  Name Description
Public property BrowseFilter Gets or sets the file types to filter, such as *.dll, *.ocx, and so on.
Public property DefaultBrowseLocation Gets or sets the default browse location. If this property returns a non-empty string, reference manager uses the passed in value instead of the last browsed location.
Public property ProviderGuid
Public property ReferenceFilterPaths
Public property References

Top

Methods

  Name Description
Public method AddReference
Public method CreateReference

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace