DataProvider.SupportsObject Method

Definition

Overloads

SupportsObject(Type)

Retrieves a Boolean value that indicates whether a particular object type is supported by the provider.

SupportsObject(Guid, Type)

Indicates whether a given DDEX provider supports an object of the specified type, potentially a specialized version for the specified data source.

SupportsObject(Type)

Retrieves a Boolean value that indicates whether a particular object type is supported by the provider.

public:
 bool SupportsObject(Type ^ objType);
public bool SupportsObject (Type objType);
member this.SupportsObject : Type -> bool
Public Function SupportsObject (objType As Type) As Boolean

Parameters

objType
Type

Data type of the specified object.

Returns

Returns true if a particular object type is supported by the provider; otherwise returns false.

Exceptions

The objType parameter is null.

Applies to

SupportsObject(Guid, Type)

Indicates whether a given DDEX provider supports an object of the specified type, potentially a specialized version for the specified data source.

public:
 abstract bool SupportsObject(Guid dataSource, Type ^ objType);
public abstract bool SupportsObject (Guid dataSource, Type objType);
abstract member SupportsObject : Guid * Type -> bool
Public MustOverride Function SupportsObject (dataSource As Guid, objType As Type) As Boolean

Parameters

dataSource
Guid

A DDEX data source GUID.

objType
Type

Data type of object for which to discover supportability.

Returns

Returns true if the DDEX provider supports an object of the specified type; otherwise returns false.

Exceptions

The objType parameter is null.

Applies to