VCWizCtlClass.GetConsumerClass - метод
Returns a string containing the consumer class.
Пространство имен: 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
'Применение
Dim instance As VCWizCtlClass
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)
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
)
public function GetConsumerClass(
bstrClassName : String,
bAttributed : boolean,
bCommand : boolean,
bChange : boolean,
bInsert : boolean,
bDelete : boolean
) : String
Параметры
bstrClassName
Тип: System.StringRequired. A string containing the class name.
bAttributed
Тип: System.BooleanOptional. true if the class is attributed; otherwise false.
bCommand
Тип: System.BooleanOptional. Indicates that the class generates code to set and execute commands.
bChange
Тип: System.BooleanOptional. true if the class can modify a rowset; otherwise false.
bInsert
Тип: System.BooleanOptional. true if the class can insert items into a rowset; otherwise false.
bDelete
Тип: System.BooleanOptional. true if the class can remove items from a rowset; otherwise false.
Возвращаемое значение
Тип: System.String
A string containing the consumer class.
Реализации
IVCWizCtlUI.GetConsumerClass(String, Boolean, Boolean, Boolean, Boolean, Boolean)
Заметки
See the ATL OLE DB Consumer Wizard for more information.
Разрешения
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.
См. также
Основные понятия
Working with OLE DB Consumer Templates
Visual C++ Extensibility Object Model