Returns a string containing the consumer class.
Namespace: Microsoft.VisualStudio.VsWizard
Assembly: Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)
Syntax
声明
Function GetConsumerClass ( _
bstrClassName As String, _
bAttributed As Boolean, _
bCommand As Boolean, _
bChange As Boolean, _
bInsert As Boolean, _
bDelete As Boolean _
) As String
用法
Dim instance As IVCWizCtlUI
Dim bstrClassName As String
Dim bAttributed As Boolean
Dim bCommand As Boolean
Dim bChange As Boolean
Dim bInsert As Boolean
Dim bDelete As Boolean
Dim returnValue As String
returnValue = instance.GetConsumerClass(bstrClassName, _
bAttributed, bCommand, bChange, bInsert, _
bDelete)
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
)
function GetConsumerClass(
bstrClassName : String,
bAttributed : boolean,
bCommand : boolean,
bChange : boolean,
bInsert : boolean,
bDelete : boolean
) : String
Parameters
bstrClassName
Type: System.StringRequired. A string containing the class name.
bAttributed
Type: System.BooleanOptional. true if the class is attributed; otherwise false.
bCommand
Type: System.BooleanOptional. Indicates that the class generates code to set and execute commands.
bChange
Type: System.BooleanOptional. true if the class can modify a rowset; otherwise false.
bInsert
Type: System.BooleanOptional. true if the class can insert items into a rowset; otherwise false.
bDelete
Type: System.BooleanOptional. true if the class can remove items from a rowset; otherwise false.
Return Value
Type: System.String
A string containing the consumer class.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.