Rune.IsPunctuation(Rune) Method  
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 -> boolPublic Shared Function IsPunctuation (value As Rune) As BooleanParameters
- value
- Rune
The rune to evaluate.
Returns
true if value is a punctuation mark; otherwise, false.
Remarks
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.
For more information, see Char.IsPunctuation.