TypedConstant 構造体

定義

カスタム属性の引数として使用される定数値を表します。

public value class TypedConstant : IEquatable<Microsoft::CodeAnalysis::TypedConstant>
public struct TypedConstant : IEquatable<Microsoft.CodeAnalysis.TypedConstant>
public readonly struct TypedConstant : IEquatable<Microsoft.CodeAnalysis.TypedConstant>
type TypedConstant = struct
Public Structure TypedConstant
Implements IEquatable(Of TypedConstant)
継承
TypedConstant
実装

プロパティ

IsNull

定数が null 参照を表す場合は True。

Kind

定数の種類。

Type

定数の値を ITypeSymbol 返します。型を特定できない場合は null を返します (エラー)。

Value

配列以外の定数の値。

Values

配列の TypedConstant 値。

メソッド

Equals(Object)

カスタム属性の引数として使用される定数値を表します。

Equals(TypedConstant)

カスタム属性の引数として使用される定数値を表します。

GetHashCode()

カスタム属性の引数として使用される定数値を表します。

拡張メソッド

ToCSharpString(TypedConstant)

現在の TypedConstant を表す System.String を返します。

ToVisualBasicString(TypedConstant)

現在の TypedConstant を表す System.String を返します。

適用対象