GelProperty.Register<TOwner> Method (String, String, GelPropertyChangedCallback, GelPropertyValidatorCallback)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function Register(Of TOwner) ( _
name As String, _
defaultValue As String, _
propertyChanged As GelPropertyChangedCallback, _
validator As GelPropertyValidatorCallback _
) As GelProperty
public static GelProperty Register<TOwner>(
string name,
string defaultValue,
GelPropertyChangedCallback propertyChanged,
GelPropertyValidatorCallback validator
)
public:
generic<typename TOwner>
static GelProperty^ Register(
String^ name,
String^ defaultValue,
GelPropertyChangedCallback^ propertyChanged,
GelPropertyValidatorCallback^ validator
)
static member Register :
name:string *
defaultValue:string *
propertyChanged:GelPropertyChangedCallback *
validator:GelPropertyValidatorCallback -> GelProperty
JScript does not support generic types or methods.
Type Parameters
- TOwner
Parameters
- name
Type: System.String
- defaultValue
Type: System.String
- propertyChanged
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelPropertyChangedCallback
Return Value
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty
.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.