Share via


AppAction(String, String, String, String) 생성자

정의

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

public AppAction (string id, string title, string? subtitle = default, string? icon = default);
new Microsoft.Maui.ApplicationModel.AppAction : string * string * string * string -> Microsoft.Maui.ApplicationModel.AppAction
Public Sub New (id As String, title As String, Optional subtitle As String = Nothing, Optional icon As String = Nothing)

매개 변수

id
String

작업 탭에 응답하는 데 사용되는 고유 식별자입니다.

title
String

앱 아이콘에 표시할 표시되는 제목입니다.

subtitle
String

지원되는 경우 제목 아래에 표시할 하위 제목입니다.

icon
String

제목 옆에 표시되는 아이콘입니다.

예외

또는 titleid 인 경우 throw됩니다null.

적용 대상