다음을 통해 공유


GelProperty.RegisterStringProperty<TOwner> Method (String, String, GelPropertyChangedCallback, GelPropertyValidatorCallback)

Microsoft internal use only.

Registers a String property.

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

Syntax

‘선언
Public Shared Function RegisterStringProperty(Of TOwner) ( _
    name As String, _
    defaultValue As String, _
    propertyChanged As GelPropertyChangedCallback, _
    validator As GelPropertyValidatorCallback _
) As GelProperty
public static GelProperty RegisterStringProperty<TOwner>(
    string name,
    string defaultValue,
    GelPropertyChangedCallback propertyChanged,
    GelPropertyValidatorCallback validator
)

Type Parameters

  • TOwner
    Owning type.

Parameters

  • defaultValue
    Type: System.String
    Default value of the property.

Return Value

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

.NET Framework Security

See Also

Reference

GelProperty Class

RegisterStringProperty Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace