PackageRegistrationAttribute.RegisterUsing Property

Gets or sets the method of registration.

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

Syntax

‘선언
Public Property RegisterUsing As RegistrationMethod
    Get
    Set
‘사용 방법
Dim instance As PackageRegistrationAttribute
Dim value As RegistrationMethod

value = instance.RegisterUsing

instance.RegisterUsing = value
public RegistrationMethod RegisterUsing { get; set; }
public:
property RegistrationMethod RegisterUsing {
    RegistrationMethod get ();
    void set (RegistrationMethod value);
}
member RegisterUsing : RegistrationMethod with get, set
function get RegisterUsing () : RegistrationMethod
function set RegisterUsing (value : RegistrationMethod)

Property Value

Type: Microsoft.VisualStudio.Shell.RegistrationMethod
RegistrationMethod.

Remarks

The enumeration RegistrationMethod describes registration choices.

Enumeration Value

Description

Default

Should be used only by tools.

CodeBase

The path to the assembly should be stored in the registry and used to locate the assembly at runtime.

Assembly

The assembly should be in the GAC or in PrivateAssemblies.

The registration mode that is specified in the command line of RegPkg has precedence over the value of this property.

.NET Framework Security

See Also

Reference

PackageRegistrationAttribute Class

PackageRegistrationAttribute Members

Microsoft.VisualStudio.Shell Namespace

Other Resources

Registering VSPackages