次の方法で共有


IVCWizCtlUI.GetConsumerClass メソッド

コンシューマー クラスを含む文字列を返します。

名前空間:  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 セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

IVCWizCtlUI インターフェイス

Microsoft.VisualStudio.VsWizard 名前空間