다음을 통해 공유


VCWizCtlClass.GetConsumerClass Method

Definition

Returns a string containing the consumer class.

 virtual std::wstring GetConsumerClass(std::wstring const & bstrClassName, bool bAttributed = true, bool bCommand = false, bool bChange = false, bool bInsert = false, bool bDelete = false);
[System.Runtime.InteropServices.DispId(1610743831)]
public virtual string GetConsumerClass (string bstrClassName, bool bAttributed = true, bool bCommand = false, bool bChange = false, bool bInsert = false, bool bDelete = false);
[<System.Runtime.InteropServices.DispId(1610743831)>]
abstract member GetConsumerClass : string * bool * bool * bool * bool * bool -> string
override this.GetConsumerClass : string * bool * bool * bool * bool * bool -> string
Public Overridable Function GetConsumerClass (Optional bstrClassName As String, Optional bAttributed As Boolean = true, Optional bCommand As Boolean = false, Optional bChange As Boolean = false, Optional bInsert As Boolean = false, Optional bDelete As Boolean = false) As String

Parameters

bstrClassName
String

Required. A string containing the class name.

bAttributed
Boolean

Optional. true if the class is attributed; otherwise false.

bCommand
Boolean

Optional. Indicates that the class generates code to set and execute commands.

bChange
Boolean

Optional. true if the class can modify a rowset; otherwise false.

bInsert
Boolean

Optional. true if the class can insert items into a rowset; otherwise false.

bDelete
Boolean

Optional. true if the class can remove items from a rowset; otherwise false.

Returns

A string containing the consumer class.

Implements

Attributes

Remarks

See the ATL OLE DB Consumer Wizard for more information.

Applies to