語言

ValueAsnReader.ThrowIfNotEmpty 方法

定義

若讀取器有剩餘資料,則拋出標準化AsnContentException,若返回 則不執行任何函式。HasDatafalse

public:
 void ThrowIfNotEmpty();
public readonly void ThrowIfNotEmpty();
member this.ThrowIfNotEmpty : unit -> unit
Public Sub ThrowIfNotEmpty ()

備註

此方法提供標準化的目標與標準化例外,用於讀取「封閉」結構,例如明確標籤值的巢狀內容。

適用於