IVsExtensionManager.FindMissingReferences Method
Checks whether all references of a given extension are installed. This method only checks for first-level dependencies and does not verify that references of references are installed.
Namespace: Microsoft.VisualStudio.ExtensionManager
Assembly: Microsoft.VisualStudio.ExtensionManager (in Microsoft.VisualStudio.ExtensionManager.dll)
Syntax
'宣言
Function FindMissingReferences ( _
extension As IExtension _
) As IEnumerable(Of IExtensionReference)
IEnumerable<IExtensionReference> FindMissingReferences(
IExtension extension
)
IEnumerable<IExtensionReference^>^ FindMissingReferences(
IExtension^ extension
)
abstract FindMissingReferences :
extension:IExtension -> IEnumerable<IExtensionReference>
function FindMissingReferences(
extension : IExtension
) : IEnumerable<IExtensionReference>
Parameters
- extension
Type: Microsoft.VisualStudio.ExtensionManager.IExtension
The extension whose references will be checked.
Return Value
Type: System.Collections.Generic.IEnumerable<IExtensionReference>
A collection of IExtensionReference objects. These represent a subset of the references of the extension, and these references correspond to extensions that Extension Manager was unable to locate.
Remarks
Although this API supports the Extension Manager infrastructure, we recommend that you do not use it because it is subject to change.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.