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
'使用
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.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 コンシューマ ウィザード」を参照してください。
アクセス許可
- 直前の呼び出し元に対する完全な信頼。このメンバは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。