다음을 통해 공유


RibbonSplitButton 생성자 (String, ICommandId, Object, IEnumerable<RibbonButton>, Bitmap, Bitmap)

버전 2에 적용

RibbonSplitButton 클래스의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.WebMatrix.Extensibility
어셈블리:  Microsoft.WebMatrix.Extensibility(Microsoft.WebMatrix.Extensibility.dll)

구문

‘선언
Public Sub New ( _
    label As String, _
    commandId As ICommandId, _
    commandParameter As Object, _
    items As IEnumerable(Of RibbonButton), _
    smallImage As Bitmap, _
    largeImage As Bitmap _
)
‘사용 방법
Dim label As String 
Dim commandId As ICommandId 
Dim commandParameter As Object 
Dim items As IEnumerable(Of RibbonButton)
Dim smallImage As Bitmap 
Dim largeImage As Bitmap 

Dim instance As New RibbonSplitButton(label, commandId, _
    commandParameter, items, smallImage, _
    largeImage)
public RibbonSplitButton(
    string label,
    ICommandId commandId,
    Object commandParameter,
    IEnumerable<RibbonButton> items,
    Bitmap smallImage,
    Bitmap largeImage
)
public:
RibbonSplitButton(
    String^ label, 
    ICommandId^ commandId, 
    Object^ commandParameter, 
    IEnumerable<RibbonButton^>^ items, 
    Bitmap^ smallImage, 
    Bitmap^ largeImage
)
new : 
        label:string * 
        commandId:ICommandId * 
        commandParameter:Object * 
        items:IEnumerable<RibbonButton> * 
        smallImage:Bitmap * 
        largeImage:Bitmap -> RibbonSplitButton
public function RibbonSplitButton(
    label : String, 
    commandId : ICommandId, 
    commandParameter : Object, 
    items : IEnumerable<RibbonButton>, 
    smallImage : Bitmap, 
    largeImage : Bitmap
)

매개 변수

  • commandParameter
    유형: System.Object

    CommandId에 대한 명령 매개 변수입니다.

참고 항목

참조

RibbonSplitButton 클래스

RibbonSplitButton 오버로드

Microsoft.WebMatrix.Extensibility 네임스페이스