VCWizCtlClass.GetConsumerClass 方法

返回一个包含使用者类的字符串。

命名空间:  Microsoft.VisualStudio.VsWizard
程序集:  Microsoft.VisualStudio.VsWizard(在 Microsoft.VisualStudio.VsWizard.dll 中)

语法

声明
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

参数

  • bstrClassName
    类型:System.String
    必需。包含类名称的字符串。
  • bAttributed
    类型:System.Boolean
    可选。如果类是特性化的,则为 true;否则为 false。
  • bCommand
    类型:System.Boolean
    可选。指示类生成代码,以设置或执行命令。
  • bChange
    类型:System.Boolean
    可选。如果类可以修改行集,则为 true;否则为 false。
  • bInsert
    类型:System.Boolean
    可选。如果类可以在行集中插入项,则为 true;否则为 false。
  • bDelete
    类型:System.Boolean
    可选。如果类可以从行集中移除项,则为 true;否则为 false。

返回值

类型:System.String
一个包含使用者类的字符串。

实现

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

备注

有关更多信息,请参见ATL OLE DB 使用者向导

.NET Framework 安全性

请参见

参考

VCWizCtlClass 类

Microsoft.VisualStudio.VsWizard 命名空间

其他资源

设计向导

使用 OLE DB 使用者模板

Visual C++ 扩展性对象模型