Partilhar via


IVsDataProviderDynamicSupport.IsOperationSupported Method

Definition

Determines whether a specific operation is supported in the current environment, for the specified DDEX data source.

public:
 bool IsOperationSupported(Guid source, System::ComponentModel::Design::CommandID ^ command, System::Object ^ context);
public bool IsOperationSupported (Guid source, System.ComponentModel.Design.CommandID command, object context);
abstract member IsOperationSupported : Guid * System.ComponentModel.Design.CommandID * obj -> bool
Public Function IsOperationSupported (source As Guid, command As CommandID, context As Object) As Boolean

Parameters

source
Guid

A DDEX data source identifier.

command
CommandID

A command identifying the operation.

context
Object

An object representing the context in which the operation exists.

Returns

true if the operation is supported by the provider in the current environment; otherwise, false.

Exceptions

The command parameter is null.

The context parameter is not an expected value for the specified operation.

Applies to