Type.IsSignatureType Property

Definition

Gets a value that indicates whether the type is a signature type.

C#
public virtual bool IsSignatureType { get; }

Property Value

true if the Type is a signature type; otherwise, false.

Remarks

A signature type is a restricted type that can be passed to the GetMethod method but does not support most of the other reflection functionality. For example, you can obtain the signature type instance corresponding to the generic method parameter by calling the MakeGenericMethodParameter method.

Applies to

製品 バージョン
.NET Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1