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
- values
Type: System.Collections.Generic.IEnumerable<T>%
Return Value
Type: System.Boolean
.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.
See Also
Reference
VsExportProviderService Members