語言

RegexPatternAttribute 類別

定義

此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)]
[System.Serializable]
public sealed class RegexPatternAttribute : Microsoft.Bot.Builder.Scorables.Internals.AttributeString
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Method, AllowMultiple=true, Inherited=true)>]
[<System.Serializable>]
type RegexPatternAttribute = class
    inherit AttributeString
Public NotInheritable Class RegexPatternAttribute
Inherits AttributeString
繼承
RegexPatternAttribute
屬性

建構函式

名稱 Description
RegexPatternAttribute(String)

構造 RegexPatternAttribute。

欄位

名稱 Description
Pattern

規則運算式模式。

屬性

名稱 Description
Text

此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。

(繼承來源 AttributeString)

方法

名稱 Description
Equals(Object)

此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。

(繼承來源 AttributeString)
GetHashCode()

此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。

(繼承來源 AttributeString)
ToString()

此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。

(繼承來源 AttributeString)

明確介面實作

名稱 Description
IEquatable<AttributeString>.Equals(AttributeString)

此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。

(繼承來源 AttributeString)

適用於