VsExportProviderService.TryGetExports<T> Method (ICollection<Lazy>%)
Namespace: Microsoft.VisualStudio.ExtensibilityHosting
Assembly: Microsoft.VisualStudio.ExtensibilityHosting (in Microsoft.VisualStudio.ExtensibilityHosting.dll)
Syntax
'Dichiarazione
Public Shared Function TryGetExports(Of T) ( _
<OutAttribute> ByRef exports As ICollection(Of Lazy) _
) As Boolean
public static bool TryGetExports<T>(
out ICollection<Lazy> exports
)
public:
generic<typename T>
static bool TryGetExports(
[OutAttribute] ICollection<Lazy^>^% exports
)
static member TryGetExports :
exports:ICollection<Lazy> byref -> bool
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- exports
Type: System.Collections.Generic.ICollection<Lazy<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.