Szerkesztés

Megosztás a következőn keresztül:


TextSpan<T>(Int32, T) Constructor

Definition

Initializes a new instance of the TextSpan<T> class by specifying the length of the text span and the value associated with it.

public:
 TextSpan(int length, T value);
public TextSpan (int length, T value);
new System.Windows.Media.TextFormatting.TextSpan<'T> : int * 'T -> System.Windows.Media.TextFormatting.TextSpan<'T>
Public Sub New (length As Integer, value As T)

Parameters

length
Int32

An Int32 value that represents the number of characters in the text span.

value
T

The object associated with the text span.

Applies to