Share via


RegistrationAttribute.TypeId Property

Definition

Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class.

public:
 virtual property System::Object ^ TypeId { System::Object ^ get(); };
public:
 virtual property Platform::Object ^ TypeId { Platform::Object ^ get(); };
public override object TypeId { get; }
member this.TypeId : obj
Public Overrides ReadOnly Property TypeId As Object

Property Value

The current instance of this attribute.

Remarks

Override this property to allow RegistrationAttribute-derived classes to work with GetAttributes if it needs better control over the instances that can be applied to a class.

Applies to