Share via


VsExportProviderService.TryGetExport<T> Method (String, Lazy%)

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

Syntax

'Dichiarazione
Public Shared Function TryGetExport(Of T) ( _
    contractName As String, _
    <OutAttribute> ByRef export As Lazy _
) As Boolean
public static bool TryGetExport<T>(
    string contractName,
    out Lazy export
)
public:
generic<typename T>
static bool TryGetExport(
    String^ contractName, 
    [OutAttribute] Lazy^% export
)
static member TryGetExport : 
        contractName:string * 
        export:Lazy 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

TryGetExport Overload

Microsoft.VisualStudio.ExtensibilityHosting Namespace