GenericTypeParameterBuilder.BaseType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the base type constraint of the current generic type parameter.
public:
virtual property Type ^ BaseType { Type ^ get(); };
public override Type? BaseType { get; }
public override Type BaseType { get; }
member this.BaseType : Type
Public Overrides ReadOnly Property BaseType As Type
Property Value
A Type object that represents the base type constraint of the generic type parameter, or null
if the type parameter has no base type constraint.
Remarks
To set the base type constraint, use the SetBaseTypeConstraint method.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.