共用方式為


ConstantExpressionAst.StaticType Property

Definition

The static type of a constant is whatever type the value is, or if null, then assume it's typeof(object).

public:
 virtual property Type ^ StaticType { Type ^ get(); };
public:
 virtual property Platform::Type ^ StaticType { Platform::Type ^ get(); };
public override Type StaticType { get; }
member this.StaticType : Type
Public Overrides ReadOnly Property StaticType As Type

Property Value

Applies to