RegexPatternAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。
[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
- 繼承
- 屬性
建構函式
| 名稱 | Description |
|---|---|
| RegexPatternAttribute(String) |
欄位
| 名稱 | Description |
|---|---|
| Pattern |
規則運算式模式。 |
屬性
| 名稱 | Description |
|---|---|
| Text |
此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。 (繼承來源 AttributeString) |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。 (繼承來源 AttributeString) |
| GetHashCode() |
此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。 (繼承來源 AttributeString) |
| ToString() |
此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。 (繼承來源 AttributeString) |
明確介面實作
| 名稱 | Description |
|---|---|
| IEquatable<AttributeString>.Equals(AttributeString) |
此屬性用於指定應用正則表達式可分數時所用的正則表達式模式。 (繼承來源 AttributeString) |