FormReader.ReadNextPair 方法

定义

从窗体中读取下一个键值对。 对于未缓冲区的数据,请改用异步重载。

public:
 Nullable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ReadNextPair();
public System.Collections.Generic.KeyValuePair<string,string>? ReadNextPair ();
member this.ReadNextPair : unit -> Nullable<System.Collections.Generic.KeyValuePair<string, string>>
Public Function ReadNextPair () As Nullable(Of KeyValuePair(Of String, String))

返回

下一个键值对,或到达窗体末尾时为 null。

适用于