返回一个包含使用者类的字符串。
命名空间:  Microsoft.VisualStudio.VsWizard
程序集:  Microsoft.VisualStudio.VsWizard(在 Microsoft.VisualStudio.VsWizard.dll 中)
语法
声明
Function GetConsumerClass ( _
    bstrClassName As String, _
    bAttributed As Boolean, _
    bCommand As Boolean, _
    bChange As Boolean, _
    bInsert As Boolean, _
    bDelete As Boolean _
) As String
string GetConsumerClass(
    string bstrClassName,
    bool bAttributed,
    bool bCommand,
    bool bChange,
    bool bInsert,
    bool bDelete
)
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 
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
一个包含使用者类的字符串。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。