다음을 통해 공유


GelProperty.RegisterIndirectProperty<TOwner> Method (String, String, __VSUIDATAFORMAT, GelPropertyGetterCallback, Boolean)

Microsoft internal use only.

Registers a property with a getter callback.

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

Syntax

‘선언
Public Shared Function RegisterIndirectProperty(Of TOwner) ( _
    name As String, _
    type As String, _
    format As __VSUIDATAFORMAT, _
    getter As GelPropertyGetterCallback, _
    oneTime As Boolean _
) As GelProperty
public static GelProperty RegisterIndirectProperty<TOwner>(
    string name,
    string type,
    __VSUIDATAFORMAT format,
    GelPropertyGetterCallback getter,
    bool oneTime
)

Type Parameters

  • TOwner
    Owning type.

Parameters

  • oneTime
    Type: System.Boolean
    If this parameter is true, then the getter function is called only once.

Return Value

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

.NET Framework Security

See Also

Reference

GelProperty Class

RegisterIndirectProperty Overload

Microsoft.Internal.VisualStudio.PlatformUI Namespace