Language

TextCharacters コンストラクター

定義

TextCharacters クラスの新しいインスタンスを初期化します。

オーバーロード

名前 説明
TextCharacters(String, TextRunProperties)

指定した文字列を使用して、 TextCharacters クラスの新しいインスタンスを初期化します。

TextCharacters(Char*, Int32, TextRunProperties)

指定した安全でない文字列を使用して、 TextCharacters クラスの新しいインスタンスを初期化します。

TextCharacters(Char[], Int32, Int32, TextRunProperties)

指定した文字配列を使用して、 TextCharacters クラスの新しいインスタンスを初期化します。

TextCharacters(String, Int32, Int32, TextRunProperties)

指定した文字部分文字列を使用して、 TextCharacters クラスの新しいインスタンスを初期化します。

TextCharacters(String, TextRunProperties)

指定した文字列を使用して、 TextCharacters クラスの新しいインスタンスを初期化します。

public:
 TextCharacters(System::String ^ characterString, System::Windows::Media::TextFormatting::TextRunProperties ^ textRunProperties);
public TextCharacters(string characterString, System.Windows.Media.TextFormatting.TextRunProperties textRunProperties);
new System.Windows.Media.TextFormatting.TextCharacters : string * System.Windows.Media.TextFormatting.TextRunProperties -> System.Windows.Media.TextFormatting.TextCharacters
Public Sub New (characterString As String, textRunProperties As TextRunProperties)

パラメーター

characterString
String

テキスト文字を含む String 。

textRunProperties
TextRunProperties

TextRunPropertiesの文字に使用するcharacterString値。

適用対象

TextCharacters(Char*, Int32, TextRunProperties)

重要

この API は CLS 準拠ではありません。

指定した安全でない文字列を使用して、 TextCharacters クラスの新しいインスタンスを初期化します。

public:
 TextCharacters(char* unsafeCharacterString, int length, System::Windows::Media::TextFormatting::TextRunProperties ^ textRunProperties);
[System.CLSCompliant(false)]
[System.Security.SecurityCritical]
public TextCharacters(char* unsafeCharacterString, int length, System.Windows.Media.TextFormatting.TextRunProperties textRunProperties);
[System.CLSCompliant(false)]
public TextCharacters(char* unsafeCharacterString, int length, System.Windows.Media.TextFormatting.TextRunProperties textRunProperties);
[<System.CLSCompliant(false)>]
[<System.Security.SecurityCritical>]
new System.Windows.Media.TextFormatting.TextCharacters : nativeptr<char> * int * System.Windows.Media.TextFormatting.TextRunProperties -> System.Windows.Media.TextFormatting.TextCharacters
[<System.CLSCompliant(false)>]
new System.Windows.Media.TextFormatting.TextCharacters : nativeptr<char> * int * System.Windows.Media.TextFormatting.TextRunProperties -> System.Windows.Media.TextFormatting.TextCharacters

パラメーター

unsafeCharacterString
Char*

文字列へのポインター。

length
Int32

unsafeCharacterStringで使用する文字の長さ。

textRunProperties
TextRunProperties

TextRunPropertiesの文字に使用するunsafeCharacterString値。

属性

適用対象

TextCharacters(Char[], Int32, Int32, TextRunProperties)

指定した文字配列を使用して、 TextCharacters クラスの新しいインスタンスを初期化します。

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

パラメーター

characterArray
Char[]

Char配列。

offsetToFirstChar
Int32

characterArrayで使用する最初の文字へのオフセット。

length
Int32

characterArrayで使用する文字の長さ。

textRunProperties
TextRunProperties

TextRunPropertiesの文字に使用するcharacterArray値。

適用対象

TextCharacters(String, Int32, Int32, TextRunProperties)

指定した文字部分文字列を使用して、 TextCharacters クラスの新しいインスタンスを初期化します。

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

パラメーター

characterString
String

テキスト文字を含む String 。

offsetToFirstChar
Int32

characterStringで使用する最初の文字へのオフセット。

length
Int32

characterStringで使用する文字の長さ。

textRunProperties
TextRunProperties

TextRunPropertiesの文字に使用するcharacterString値。

適用対象