Gets or sets the registration method.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Property RegisterUsing As RegistrationMethod
'使用
Dim instance As ProvideObjectAttribute
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);
}
public function get RegisterUsing () : RegistrationMethod
public function set RegisterUsing (value : RegistrationMethod)
Property Value
Type: Microsoft.VisualStudio.Shell.RegistrationMethod
Remarks
Allowable values come from the RegistrationMethod enumeration. This can be overridden during registration.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.