Rune.IsPunctuation(Rune) Rune.IsPunctuation(Rune) Rune.IsPunctuation(Rune) Rune.IsPunctuation(Rune) Method

Definizione

Restituisce un valore che indica se la runa specificata è stata categorizzata come segno di punteggiatura.Returns a value that indicates whether the specified rune is categorized as a punctuation mark.

public:
 static bool IsPunctuation(System::Text::Rune value);
public static bool IsPunctuation (System.Text.Rune value);
static member IsPunctuation : System.Text.Rune -> bool
Public Shared Function IsPunctuation (value As Rune) As Boolean

Parametri

value
Rune Rune Rune Rune

Runa da valutare.The rune to evaluate.

Restituisce

true se value è un segno di punteggiatura; in caso contrario, false.true if value is a punctuation mark; otherwise, false.

Commenti

Questo metodo equivale a eseguire una query GetUnicodeCategory(Rune) e a confrontare il risultato con uno qualsiasi dei ConnectorPunctuationvalori DashPunctuation, OpenPunctuation ClosePunctuation,, InitialQuotePunctuation, FinalQuotePunctuation, e OtherPunctuation.This method is equivalent to querying GetUnicodeCategory(Rune) and comparing the result against any of the values ConnectorPunctuation, DashPunctuation, OpenPunctuation, ClosePunctuation, InitialQuotePunctuation, FinalQuotePunctuation, and OtherPunctuation.

Per ulteriori informazioni, vedere Char.IsPunctuation.For more information, see Char.IsPunctuation.

Si applica a