GelProperty.Register<TOwner> Method (String, Boolean)
Microsoft internal use only.
Registers a Gel property.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function Register(Of TOwner) ( _
name As String, _
defaultValue As Boolean _
) As GelProperty
public static GelProperty Register<TOwner>(
string name,
bool defaultValue
)
public:
generic<typename TOwner>
static GelProperty^ Register(
String^ name,
bool defaultValue
)
static member Register :
name:string *
defaultValue:bool -> GelProperty
JScript does not support generic types or methods.
Type Parameters
- TOwner
Owning type.
Parameters
name
Type: System.StringName of the property.
defaultValue
Type: System.BooleanDefault value of the property.
Return Value
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty
Name of the property.
.NET Framework Security
- 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.