VsExportProviderService.TryGetExportedValue<T> Method (VsExportProvisionScope, T%)
Namespace: Microsoft.VisualStudio.ExtensibilityHosting
Assembly: Microsoft.VisualStudio.ExtensibilityHosting (in Microsoft.VisualStudio.ExtensibilityHosting.dll)
Syntax
'Dichiarazione
Public Shared Function TryGetExportedValue(Of T) ( _
scope As VsExportProvisionScope, _
<OutAttribute> ByRef value As T _
) As Boolean
public static bool TryGetExportedValue<T>(
VsExportProvisionScope scope,
out T value
)
public:
generic<typename T>
static bool TryGetExportedValue(
VsExportProvisionScope^ scope,
[OutAttribute] T% value
)
static member TryGetExportedValue :
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
- 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.