語言

Activity.HasContent 方法

定義

指出此活動是否有內容。

public bool HasContent();
abstract member HasContent : unit -> bool
override this.HasContent : unit -> bool
Public Function HasContent () As Boolean

傳回

True 是表示 如果此活動有任何要傳送的內容;否則為 false。

實作

備註

這個方法定義在 Activity 類別上,但只適用於訊息活動,其中活動 Type 設定為 Message。

適用於