VsExportProviderService.TryGetExportedObjects<T> Method (VsExportProvisionScope, IEnumerable<T>%)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.VisualStudio.ExtensibilityHosting
Assembly:  Microsoft.VisualStudio.ExtensibilityHosting (in Microsoft.VisualStudio.ExtensibilityHosting.dll)

Syntax

'Declaration
Public Shared Function TryGetExportedObjects(Of T) ( _
    scope As VsExportProvisionScope, _
    <OutAttribute> ByRef values As IEnumerable(Of T) _
) As Boolean
'Usage
Dim scope As VsExportProvisionScope
Dim values As IEnumerable(Of T)
Dim returnValue As Boolean

returnValue = VsExportProviderService.TryGetExportedObjects(scope, _
    values)
public static bool TryGetExportedObjects<T>(
    VsExportProvisionScope scope,
    out IEnumerable<T> values
)
public:
generic<typename T>
static bool TryGetExportedObjects(
    VsExportProvisionScope^ scope, 
    [OutAttribute] IEnumerable<T>^% values
)
static member TryGetExportedObjects : 
        scope:VsExportProvisionScope * 
        values:IEnumerable<'T> byref -> bool 
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

VsExportProviderService Class

VsExportProviderService Members

TryGetExportedObjects<T> Overload

Microsoft.VisualStudio.ExtensibilityHosting Namespace