CapIfSupported()

Description

Returns the Data Source's support level of the capability specified by Capability.

Syntax

.CapIfSupported(messageType);

Parameters

EnumDWT_MessageType (int) messageType:

Message Type Numeric Value
EnumDWT_MessageType.TWQC_GET 1
EnumDWT_MessageType.TWQC_SET 2
EnumDWT_MessageType.TWQC_GETDEFAULT 4
EnumDWT_MessageType.TWQC_GETCURRENT 8
EnumDWT_MessageType.TWQC_RESET 16

Return value

bool

true indicates success. false indicates failure.

When false is returned, check ErrorCode or ErrorString for error information.

Remarks

Currently this method is only valid in Windows & Mac.

See also

How to Negotiate Capability with Different Capability Container Types
Capability
CapType
CapSet()

Is this page helpful?

Leave a Reply

Your email address will not be published.