Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves a Boolean value that indicates whether a particular object type is supported by the provider.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Function SupportsObject ( _
objType As Type _
) As Boolean
public bool SupportsObject(
Type objType
)
public:
bool SupportsObject(
Type^ objType
)
member SupportsObject :
objType:Type -> bool
public function SupportsObject(
objType : Type
) : boolean
Parameters
objType
Type: System.TypeData type of the specified object.
Return Value
Type: System.Boolean
Returns true if a particular object type is supported by the provider; otherwise returns false.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The objType parameter is null. |
Remarks
This method queries the registry to find out whether a particular object type is supported by the data provider. Calling this method allows a client to find out the capabilities of the provider without having to load the provider's code.
.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.