共用方式為


ProvideGeneratorAttribute.Register Method

Registers this attribute with the given context.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'宣告
Public Overrides Sub Register ( _
    context As RegistrationAttribute.RegistrationContext _
)
public override void Register(
    RegistrationAttribute.RegistrationContext context
)

Parameters

.NET Framework Security

See Also

Reference

ProvideGeneratorAttribute Class

Microsoft.VisualStudio.Shell.Design.Serialization Namespace