다음을 통해 공유


IVsReferenceProviderContext Interface

Provides basic information about the context object used to initialize the reference provider.

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

Syntax

'Declaration
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<GuidAttribute("5B99FA62-EEAB-4048-ACCB-7A8EB569CBF5")> _
Public Interface IVsReferenceProviderContext
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[GuidAttribute("5B99FA62-EEAB-4048-ACCB-7A8EB569CBF5")]
public interface IVsReferenceProviderContext
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[GuidAttribute(L"5B99FA62-EEAB-4048-ACCB-7A8EB569CBF5")]
public interface class IVsReferenceProviderContext
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<GuidAttribute("5B99FA62-EEAB-4048-ACCB-7A8EB569CBF5")>]
type IVsReferenceProviderContext =  interface end
public interface IVsReferenceProviderContext

The IVsReferenceProviderContext type exposes the following members.

Properties

  Name Description
Public property ProviderGuid Gets the GUID of the reference provider.
Public property ReferenceFilterPaths Gets or sets a list of paths to references to be filtered. This property can be used to filter out specific files or directories from the references enumeration.
Public property References Gets a collection of references.

Top

Methods

  Name Description
Public method AddReference Adds a reference to the references collection.
Public method CreateReference Creates a new reference.

Top

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace