次の方法で共有


RibbonSplitButtonGallery コンストラクター (String, ICommandId, Object, ICommandId, IEnumerable<RibbonGalleryCategory>, ImageSource, ImageSource)

v2 に適用されます。

RibbonSplitButtonGallery クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.WebMatrix.Extensibility
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Public Sub New ( _
    label As String, _
    commandId As ICommandId, _
    commandParameter As Object, _
    galleryCommandId As ICommandId, _
    categories As IEnumerable(Of RibbonGalleryCategory), _
    smallImage As ImageSource, _
    largeImage As ImageSource _
)
'使用
Dim label As String 
Dim commandId As ICommandId 
Dim commandParameter As Object 
Dim galleryCommandId As ICommandId 
Dim categories As IEnumerable(Of RibbonGalleryCategory)
Dim smallImage As ImageSource 
Dim largeImage As ImageSource 

Dim instance As New RibbonSplitButtonGallery(label, commandId, _
    commandParameter, galleryCommandId, _
    categories, smallImage, largeImage)
public RibbonSplitButtonGallery(
    string label,
    ICommandId commandId,
    Object commandParameter,
    ICommandId galleryCommandId,
    IEnumerable<RibbonGalleryCategory> categories,
    ImageSource smallImage,
    ImageSource largeImage
)
public:
RibbonSplitButtonGallery(
    String^ label, 
    ICommandId^ commandId, 
    Object^ commandParameter, 
    ICommandId^ galleryCommandId, 
    IEnumerable<RibbonGalleryCategory^>^ categories, 
    ImageSource^ smallImage, 
    ImageSource^ largeImage
)
new : 
        label:string * 
        commandId:ICommandId * 
        commandParameter:Object * 
        galleryCommandId:ICommandId * 
        categories:IEnumerable<RibbonGalleryCategory> * 
        smallImage:ImageSource * 
        largeImage:ImageSource -> RibbonSplitButtonGallery
public function RibbonSplitButtonGallery(
    label : String, 
    commandId : ICommandId, 
    commandParameter : Object, 
    galleryCommandId : ICommandId, 
    categories : IEnumerable<RibbonGalleryCategory>, 
    smallImage : ImageSource, 
    largeImage : ImageSource
)

パラメーター

  • commandParameter
    型: System.Object

    コマンドのコマンド パラメーター。

関連項目

参照

RibbonSplitButtonGallery クラス

RibbonSplitButtonGallery オーバーロード

Microsoft.WebMatrix.Extensibility 名前空間