ProvideLanguageEditorOptionPageAttribute.Register Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Creates all the registry keys and entries as specified by the class constructor.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
Public Overrides Sub Register ( _
    context As RegistrationAttribute..::..RegistrationContext _
)
‘사용 방법
Dim instance As ProvideLanguageEditorOptionPageAttribute
Dim context As RegistrationAttribute..::..RegistrationContext

instance.Register(context)
public override void Register(
    RegistrationAttribute..::..RegistrationContext context
)
public:
virtual void Register(
    RegistrationAttribute..::..RegistrationContext^ context
) override
abstract Register : 
        context:RegistrationAttribute..::..RegistrationContext -> unit 
override Register : 
        context:RegistrationAttribute..::..RegistrationContext -> unit 
public override function Register(
    context : RegistrationAttribute..::..RegistrationContext
)

Parameters

Remarks

This method is called to create the necessary registry keys and entries to specify a property page. Typically, a program such as Regpkg.exe reads a specified assembly and looks for all attributes that inherit from the RegistrationAttribute class. Regpkg.exe then instantiates each attribute, supplying the appropriate parameters that were specified when the attribute was compiled. Finally, Regpkg.exe calls the Register method on the newly created object to cause all the appropriate registry keys and entries to be created.

Note that this method is an override of the Register method.

.NET Framework Security

See Also

Reference

ProvideLanguageEditorOptionPageAttribute Class

ProvideLanguageEditorOptionPageAttribute Members

Microsoft.VisualStudio.Shell Namespace