다음을 통해 공유


VCWizCtlClass.GetConsumerClass Method

Returns a string containing the consumer class.

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

Syntax

‘선언
Public Overridable Function GetConsumerClass ( _
    bstrClassName As String, _
    bAttributed As Boolean, _
    bCommand As Boolean, _
    bChange As Boolean, _
    bInsert As Boolean, _
    bDelete As Boolean _
) As String
public virtual string GetConsumerClass(
    string bstrClassName,
    bool bAttributed,
    bool bCommand,
    bool bChange,
    bool bInsert,
    bool bDelete
)
public:
virtual String^ GetConsumerClass(
    [InAttribute] String^ bstrClassName, 
    [InAttribute] bool bAttributed, 
    [InAttribute] bool bCommand, 
    [InAttribute] bool bChange, 
    [InAttribute] bool bInsert, 
    [InAttribute] bool bDelete
)
abstract GetConsumerClass : 
        bstrClassName:string * 
        bAttributed:bool * 
        bCommand:bool * 
        bChange:bool * 
        bInsert:bool * 
        bDelete:bool -> string 
override GetConsumerClass : 
        bstrClassName:string * 
        bAttributed:bool * 
        bCommand:bool * 
        bChange:bool * 
        bInsert:bool * 
        bDelete:bool -> string 
public function GetConsumerClass(
    bstrClassName : String, 
    bAttributed : boolean, 
    bCommand : boolean, 
    bChange : boolean, 
    bInsert : boolean, 
    bDelete : boolean
) : String

Parameters

  • bstrClassName
    Type: System.String
    Required. A string containing the class name.
  • bAttributed
    Type: System.Boolean
    Optional. true if the class is attributed; otherwise false.
  • bCommand
    Type: System.Boolean
    Optional. Indicates that the class generates code to set and execute commands.
  • bChange
    Type: System.Boolean
    Optional. true if the class can modify a rowset; otherwise false.
  • bInsert
    Type: System.Boolean
    Optional. true if the class can insert items into a rowset; otherwise false.
  • bDelete
    Type: System.Boolean
    Optional. true if the class can remove items from a rowset; otherwise false.

Return Value

Type: System.String
A string containing the consumer class.

Implements

IVCWizCtlUI.GetConsumerClass(String, Boolean, Boolean, Boolean, Boolean, Boolean)

Remarks

See the ATL OLE DB Consumer Wizard for more information.

.NET Framework Security

See Also

Reference

VCWizCtlClass Class

Microsoft.VisualStudio.VsWizard Namespace

Other Resources

Designing a Wizard

Working with OLE DB Consumer Templates

Visual C++ Extensibility Object Model