VsExportProviderService.TryGetExportedObject<T> Method (VsExportProvisionScope, 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 TryGetExportedObject(Of T) ( _
    scope As VsExportProvisionScope, _
    <OutAttribute> ByRef value As T _
) As Boolean
'Usage
Dim scope As VsExportProvisionScope
Dim value As T
Dim returnValue As Boolean

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

Type Parameters

  • T

Parameters

  • value
    Type: T%

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

VsExportProviderService Class

VsExportProviderService Members

TryGetExportedObject<T> Overload

Microsoft.VisualStudio.ExtensibilityHosting Namespace