Xamarin.Android | ComponentOne
C1.Android.Viewer Assembly / C1.Android.Viewer Namespace / MenuItem Class / MenuItem Constructor / MenuItem Constructor(String,C1Icon)
The name.
The image.


In This Topic
    MenuItem Constructor(String,C1Icon)
    In This Topic
    Initializes a new instance of the MenuItem class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal name As String, _
       ByVal icon As C1Icon _
    )
    'Usage
     
    
    Dim name As String
    Dim icon As C1Icon
     
    Dim instance As New MenuItem(name, icon)
    public MenuItem( 
       string name,
       C1Icon icon
    )

    Parameters

    name
    The name.
    icon
    The image.
    See Also