CharacterBufferRange CharacterBufferRange CharacterBufferRange CharacterBufferRange Struct

定義

描述字元字串。Describes a string of characters.

public value class CharacterBufferRange : IEquatable<System::Windows::Media::TextFormatting::CharacterBufferRange>
public struct CharacterBufferRange : IEquatable<System.Windows.Media.TextFormatting.CharacterBufferRange>
type CharacterBufferRange = struct
Public Structure CharacterBufferRange
Implements IEquatable(Of CharacterBufferRange)
繼承
CharacterBufferRangeCharacterBufferRangeCharacterBufferRangeCharacterBufferRange
實作

建構函式

CharacterBufferRange(Char*, Int32) CharacterBufferRange(Char*, Int32) CharacterBufferRange(Char*, Int32) CharacterBufferRange(Char*, Int32)

從 Unmanaged 的字元字串中,初始化 CharacterBufferRange 結構的新執行個體。Initializes a new instance of the CharacterBufferRange structure from a unmanaged character string.

CharacterBufferRange(Char[], Int32, Int32) CharacterBufferRange(Char[], Int32, Int32) CharacterBufferRange(Char[], Int32, Int32) CharacterBufferRange(Char[], Int32, Int32)

從字元陣列初始化 CharacterBufferRange 結構的新執行個體。Initializes a new instance of the CharacterBufferRange structure from a character array.

CharacterBufferRange(String, Int32, Int32) CharacterBufferRange(String, Int32, Int32) CharacterBufferRange(String, Int32, Int32) CharacterBufferRange(String, Int32, Int32)

從字元字串初始化 CharacterBufferRange 結構的新執行個體。Initializes a new instance of the CharacterBufferRange structure from a character string.

屬性

CharacterBufferReference CharacterBufferReference CharacterBufferReference CharacterBufferReference

取得字串字元緩衝區的參考。Gets a reference to the character buffer of a string.

Empty Empty Empty Empty

取得空白字元字串。Gets an empty character string.

Length Length Length Length

取得文字來源字元存放區中的字元數。Gets the number of characters in the text source character store.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的 CharacterBufferRange 物件。Determines whether the specified object is equal to the current CharacterBufferRange object.

Equals(CharacterBufferRange) Equals(CharacterBufferRange) Equals(CharacterBufferRange) Equals(CharacterBufferRange)

判斷 CharacterBufferRange 物件是否等於目前的 CharacterBufferRange 物件。Determines whether the CharacterBufferRange object is equal to the current CharacterBufferRange object.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作為 CharacterBufferRange 的雜湊函式。Serves as a hash function for CharacterBufferRange. 它適合用於雜湊演算法和諸如雜湊資料表這類的資料結構。It is suitable for use in hashing algorithms and data structures such as a hash table.

運算子

Equality(CharacterBufferRange, CharacterBufferRange) Equality(CharacterBufferRange, CharacterBufferRange) Equality(CharacterBufferRange, CharacterBufferRange) Equality(CharacterBufferRange, CharacterBufferRange)

比較兩個 CharacterBufferRange 字串是否相等。Compare two CharacterBufferRange strings for equality.

Inequality(CharacterBufferRange, CharacterBufferRange) Inequality(CharacterBufferRange, CharacterBufferRange) Inequality(CharacterBufferRange, CharacterBufferRange) Inequality(CharacterBufferRange, CharacterBufferRange)

比較兩個 CharacterBufferRange 字串是否不相等。Compare two CharacterBufferRange strings for inequality.

適用於

另請參閱