GelProperty.RegisterDwordProperty<TOwner> Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Microsoft internal use only.

Registers a DWORD property.

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)


Public Shared Function RegisterDwordProperty(Of TOwner) ( _
    name As String, _
    defaultValue As UInteger, _
    propertyChanged As GelPropertyChangedCallback, _
    validator As GelPropertyValidatorCallback _
) As GelProperty
public static GelProperty RegisterDwordProperty<TOwner>(
    string name,
    uint defaultValue,
    GelPropertyChangedCallback propertyChanged,
    GelPropertyValidatorCallback validator
generic<typename TOwner>
static GelProperty^ RegisterDwordProperty(
    String^ name, 
    unsigned int defaultValue, 
    GelPropertyChangedCallback^ propertyChanged, 
    GelPropertyValidatorCallback^ validator
static member RegisterDwordProperty : 
        name:string * 
        defaultValue:uint32 * 
        propertyChanged:GelPropertyChangedCallback * 
        validator:GelPropertyValidatorCallback -> GelProperty
JScript does not support generic types or methods.

Type Parameters

  • TOwner
    Owning type.


  • defaultValue
    Type: System.UInt32

    Default value of the property.

Return Value

Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty
The registered property.

.NET Framework Security

See Also


GelProperty Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace