Partager via


DataAsyncCommandEvents.CommandRead Property

Retrieves or sets the delegate that is called when an asynchronous command has one or more blocks of data available to read in a result set.

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

Syntax

'Declaration
Public Property CommandRead As DataAsyncCommandFetchEventHandler
public DataAsyncCommandFetchEventHandler CommandRead { get; set; }
public:
property DataAsyncCommandFetchEventHandler^ CommandRead {
    DataAsyncCommandFetchEventHandler^ get ();
    void set (DataAsyncCommandFetchEventHandler^ value);
}
member CommandRead : DataAsyncCommandFetchEventHandler with get, set
function get CommandRead () : DataAsyncCommandFetchEventHandler 
function set CommandRead (value : DataAsyncCommandFetchEventHandler)

Property Value

Type: Microsoft.VisualStudio.Data.DataAsyncCommandFetchEventHandler
Returns a delegate for the CommandRead event handler.

.NET Framework Security

See Also

Reference

DataAsyncCommandEvents Class

Microsoft.VisualStudio.Data Namespace

DataAsyncCommandFetchEventHandler