VCWizCtlClass.GetConsumerClass Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.