GelProperty.Register<TOwner> Method (String, String)

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 String _
) As GelProperty
public static GelProperty Register<TOwner>(
    string name,
    string defaultValue
)
public:
generic<typename TOwner>
static GelProperty^ Register(
    String^ name, 
    String^ defaultValue
)
static member Register : 
        name:string * 
        defaultValue:string -> GelProperty
JScript does not support generic types or methods.

Type Parameters

  • TOwner
    Owning type.

Parameters

  • defaultValue
    Type: System.String

    Default value of the property.

Return Value

Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty
Name of the property.

.NET Framework Security

See Also

Reference

GelProperty Class

Register Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace