HttpStaticObjectsCollection.Deserialize(BinaryReader) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從使用該Serialize(BinaryWriter)方法撰寫的二進位檔案建立HttpStaticObjectsCollection物件。
public:
static System::Web::HttpStaticObjectsCollection ^ Deserialize(System::IO::BinaryReader ^ reader);
public static System.Web.HttpStaticObjectsCollection Deserialize(System.IO.BinaryReader reader);
static member Deserialize : System.IO.BinaryReader -> System.Web.HttpStaticObjectsCollection
Public Shared Function Deserialize (reader As BinaryReader) As HttpStaticObjectsCollection
參數
- reader
- BinaryReader
它們 BinaryReader 用於從串流或編碼字串讀取序列化的集合。
傳回
HttpStaticObjectsCollection一個由使用該Serialize(BinaryWriter)方法撰寫的二進位檔案內容填充的
備註
Important
使用不受信任的數據呼叫此方法是安全性風險。 僅使用信任的數據呼叫這個方法。 如需詳細資訊,請參閱 驗證所有輸入。
此Deserialize方法用於讀取儲存在該方法所建立Serialize的儲存位置中的物件內容HttpStaticObjectsCollection。 要序列化 , HttpStaticObjectsCollection請使用以下 Serialize 方法。