語言

TextBox.IPostBackDataHandler.LoadPostData(String, NameValueCollection) 方法

定義

如果內容與上次貼文不同,會載入該已發佈的文字框內容。

 virtual bool System.Web.UI.IPostBackDataHandler.LoadPostData(System::String ^ postDataKey, System::Collections::Specialized::NameValueCollection ^ postCollection) = System::Web::UI::IPostBackDataHandler::LoadPostData;
bool IPostBackDataHandler.LoadPostData(string postDataKey, System.Collections.Specialized.NameValueCollection postCollection);
abstract member System.Web.UI.IPostBackDataHandler.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
override this.System.Web.UI.IPostBackDataHandler.LoadPostData : string * System.Collections.Specialized.NameValueCollection -> bool
Function LoadPostData (postDataKey As String, postCollection As NameValueCollection) As Boolean Implements IPostBackDataHandler.LoadPostData

參數

postDataKey
String

在已發佈的集合中,引用要載入的內容的索引。

postCollection
NameValueCollection

收藏會上傳到伺服器。

傳回

true如果發布的內容與上次發布不同;否則,。 false

實作

備註

此成員為明確介面成員實作。 它只能在實 TextBox 例投射到 IPostBackDataHandler 介面時使用。

適用於

另請參閱