Partager via


IVsDataMappedObjectSelector.SupportsType<T> Method

Indicates whether the mapped object selector can map the relational object type represented by the generic type T to an underlying type.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Function SupportsType(Of T As IVsDataMappedObject) As Boolean
bool SupportsType<T>()
where T : IVsDataMappedObject
generic<typename T>
where T : IVsDataMappedObject 
bool SupportsType()
abstract SupportsType : unit -> bool   when 'T : IVsDataMappedObject
JScript does not support generic types or methods.

Type Parameters

  • T
    The type of the parameter.

Return Value

Type: System.Boolean
true if the type is supported; otherwise, false.

Remarks

The type is supported if there is a corresponding mapped type entry for it in the data object support model.

.NET Framework Security

See Also

Reference

IVsDataMappedObjectSelector Interface

SupportsType Overload

Microsoft.VisualStudio.Data.Services Namespace