CharacterBufferRange CharacterBufferRange CharacterBufferRange CharacterBufferRange Constructors

Definition

Overloads

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

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)

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)

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

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

Important

This API is not CLS-compliant.

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

public:
 CharacterBufferRange(char* unsafeCharacterString, int characterLength);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public CharacterBufferRange (char* unsafeCharacterString, int characterLength);
new System.Windows.Media.TextFormatting.CharacterBufferRange : nativeptr<char> * int -> System.Windows.Media.TextFormatting.CharacterBufferRange

Parameters

unsafeCharacterString
Char*

An unmanaged pointer reference to a character string.

characterLength
Int32 Int32 Int32 Int32

The number of characters in unsafecharacterString to use.

Remarks

The caller needs unmanaged code permission in order to invoke the CharacterBufferRange method.

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

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

public:
 CharacterBufferRange(cli::array <char> ^ characterArray, int offsetToFirstChar, int characterLength);
public CharacterBufferRange (char[] characterArray, int offsetToFirstChar, int characterLength);
new System.Windows.Media.TextFormatting.CharacterBufferRange : char[] * int * int -> System.Windows.Media.TextFormatting.CharacterBufferRange
Public Sub New (characterArray As Char(), offsetToFirstChar As Integer, characterLength As Integer)

Parameters

characterArray
Char[]

The character array.

offsetToFirstChar
Int32 Int32 Int32 Int32

The character buffer offset to the first character.

characterLength
Int32 Int32 Int32 Int32

The number of characters in characterArray to use.

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

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

public:
 CharacterBufferRange(System::String ^ characterString, int offsetToFirstChar, int characterLength);
public CharacterBufferRange (string characterString, int offsetToFirstChar, int characterLength);
new System.Windows.Media.TextFormatting.CharacterBufferRange : string * int * int -> System.Windows.Media.TextFormatting.CharacterBufferRange
Public Sub New (characterString As String, offsetToFirstChar As Integer, characterLength As Integer)

Parameters

characterString
String String String String

The character string.

offsetToFirstChar
Int32 Int32 Int32 Int32

The character buffer offset to the first character.

characterLength
Int32 Int32 Int32 Int32

The number of characters in characterString to use.

Applies to