CharacterBufferRange Structure

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Describes a string of characters.

Namespace:   System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)

public struct CharacterBufferRange : IEquatable<CharacterBufferRange>

NameDescription
System_CAPS_pubmethodCharacterBufferRange(Char*, Int32)

Initializes a new instance of the CharacterBufferRange structure from a unmanaged character string.

System_CAPS_pubmethodCharacterBufferRange(Char[], Int32, Int32)

Initializes a new instance of the CharacterBufferRange structure from a character array.

System_CAPS_pubmethodCharacterBufferRange(String, Int32, Int32)

Initializes a new instance of the CharacterBufferRange structure from a character string.

NameDescription
System_CAPS_pubpropertyCharacterBufferReference

Gets a reference to the character buffer of a string.

System_CAPS_pubpropertySystem_CAPS_staticEmpty

Gets an empty character string.

System_CAPS_pubpropertyLength

Gets the number of characters in the text source character store.

NameDescription
System_CAPS_pubmethodEquals(CharacterBufferRange)

Determines whether the CharacterBufferRange object is equal to the current CharacterBufferRange object.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current CharacterBufferRange object.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for CharacterBufferRange. It is suitable for use in hashing algorithms and data structures such as a hash table.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(CharacterBufferRange, CharacterBufferRange)

Compare two CharacterBufferRange strings for equality.

System_CAPS_puboperatorSystem_CAPS_staticInequality(CharacterBufferRange, CharacterBufferRange)

Compare two CharacterBufferRange strings for inequality.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: