Share via


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

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

Type Parameters

  • TOwner

Parameters

Return Value

Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty

.NET Framework Security

See Also

Reference

GelProperty Class

Register Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace