StringSyntaxAttribute クラス

定義

文字列で使用される構文を指定します。

public ref class StringSyntaxAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)]
public sealed class StringSyntaxAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Parameter | System.AttributeTargets.Property, AllowMultiple=false, Inherited=false)>]
type StringSyntaxAttribute = class
    inherit Attribute
Public NotInheritable Class StringSyntaxAttribute
Inherits Attribute
継承
StringSyntaxAttribute
属性

コンストラクター

名前 説明
StringSyntaxAttribute(String, Object[])

使用する構文の識別子を使用して StringSyntaxAttribute を初期化します。

StringSyntaxAttribute(String)

使用する構文の識別子を使用して StringSyntaxAttribute を初期化します。

フィールド

名前 説明
CompositeFormat

文字列書式の複合形式を含む文字列の構文識別子。

CSharp

文字列で使用される構文を指定します。

DateOnlyFormat

日付書式指定子を含む文字列の構文識別子。

DateTimeFormat

日付と時刻の書式指定子を含む文字列の構文識別子。

EnumFormat

Enum書式指定子を含む文字列の構文識別子。

FSharp

文字列で使用される構文を指定します。

GuidFormat

Guid書式指定子を含む文字列の構文識別子。

Json

JavaScript Object Notation (JSON) を含む文字列の構文識別子。

NumericFormat

数値書式指定子を含む文字列の構文識別子。

Regex

正規表現を含む文字列の構文識別子。

TimeOnlyFormat

時刻書式指定子を含む文字列の構文識別子。

TimeSpanFormat

TimeSpan書式指定子を含む文字列の構文識別子。

Uri

URI を含む文字列の構文識別子。

VisualBasic

文字列で使用される構文を指定します。

Xml

XML を含む文字列の構文識別子。

プロパティ

名前 説明
Arguments

使用される特定の構文に関連付けられている省略可能な引数を取得します。

Syntax

使用される構文の識別子を取得します。

TypeId

派生クラスで実装されている場合は、この Attributeの一意の識別子を取得します。

(継承元 Attribute)

メソッド

名前 説明
Equals(Object)

このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
GetHashCode()

このインスタンスのハッシュ コードを返します。

(継承元 Attribute)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
IsDefaultAttribute()

派生クラスでオーバーライドされた場合、このインスタンスの値が派生クラスの既定値であるかどうかを示します。

(継承元 Attribute)
Match(Object)

派生クラスでオーバーライドされた場合、このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象