←Select platform

LinkPatterns Property

Summary

Regular expressions to use when parsing links from text.

Syntax

C#
VB
Java
C++
public static IList<Regex> LinkPatterns { get; } 
Public Shared ReadOnly Property LinkPatterns() As System.Collections.Generic.IList(Of System.Text.RegularExpressions.Regex) 
   Get 
public:  
   static property System::Collections::Generic::IList<System::Text::RegularExpressions::Regex^>^ LinkPatterns 
   { 
      System::Collections::Generic::IList<System::Text::RegularExpressions::Regex^>^ get() 
   } 
public static List<Pattern> getLinkPatterns() 

Property Value

A list of the regular expressions to use when parsing links from text. The default value is a list containing two regular expressions: The first to parse links such as http, https, ftp, file, mailto, etc. and the second to parse email addresses.

Remarks

You can add or modify this list to control how links are parsed from text. Call ResetLinkPatterns to set the list back to the default values.

Refer to AutoParseLinks for more information.

Example

For an example, refer to GetLinks

Requirements

Target Platforms

Help Version 19.0.2017.10.18
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents Assembly