Share via


GelProperty.RegisterGuidProperty<TOwner> Method

Microsoft internal use only.

Registers a GUID property.

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

Syntax

'Declaration
Public Shared Function RegisterGuidProperty(Of TOwner) ( _
    name As String, _
    defaultValue As Guid, _
    propertyChanged As GelPropertyChangedCallback, _
    validator As GelPropertyValidatorCallback _
) As GelProperty
public static GelProperty RegisterGuidProperty<TOwner>(
    string name,
    Guid defaultValue,
    GelPropertyChangedCallback propertyChanged,
    GelPropertyValidatorCallback validator
)
public:
generic<typename TOwner>
static GelProperty^ RegisterGuidProperty(
    String^ name, 
    Guid defaultValue, 
    GelPropertyChangedCallback^ propertyChanged, 
    GelPropertyValidatorCallback^ validator
)
static member RegisterGuidProperty : 
        name:string * 
        defaultValue:Guid * 
        propertyChanged:GelPropertyChangedCallback * 
        validator:GelPropertyValidatorCallback -> GelProperty
JScript does not support generic types or methods.

Type Parameters

  • TOwner
    Owning type.

Parameters

  • defaultValue
    Type: System.Guid

    Default value of the property.

Return Value

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

.NET Framework Security

See Also

Reference

GelProperty Class

Microsoft.Internal.VisualStudio.PlatformUI Namespace