Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft internal use only.
Registers a DWORD property.
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
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
)
public:
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.
Parameters
name
Type: System.StringName of the property.
defaultValue
Type: System.UInt32Default value of the property.
propertyChanged
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelPropertyChangedCallbackThe changed function.
validator
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelPropertyValidatorCallbackThe validator function.
Return Value
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty
The registered 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.