IndexedString 類別

定義

提供公用程式字串類別,讓 ObjectStateFormatter 類別用來最佳化物件 Graph 序列化。 此類別無法獲得繼承。

public ref class IndexedString sealed
[System.Serializable]
public sealed class IndexedString
[<System.Serializable>]
type IndexedString = class
Public NotInheritable Class IndexedString
繼承
IndexedString
屬性

備註

類別 IndexedString 會使用類別 ObjectStateFormatter 來建立字串資料表,以及優化物件圖形序列化。 IndexedString 提供優化,讓您能夠有效率地儲存包含重複字串的頁面狀態資訊。 IndexedString類別並非設計直接從程式碼使用。

建構函式

IndexedString(String)

初始化 IndexedString 類別的新執行個體。

屬性

Value

取得與 IndexedString 物件關聯的字串。

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetType()

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於