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

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Microsoft internal use only.

Registers a property with a getter callback.

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

public:
generic<typename TOwner>
static GelProperty^ RegisterIndirectProperty(
	String^ name, 
	String^ type, 
	__VSUIDATAFORMAT format, 
	GelPropertyGetterCallback^ getter, 
	bool oneTime
)

Type Parameters

TOwner

Owning type.

Parameters

name
Type: System::String

Name of the property.

type
Type: System::String

Data type of the new property (VsUIType).

format
Type: Microsoft.VisualStudio.Shell.Interop::__VSUIDATAFORMAT

Data format of the new property.

getter
Type: Microsoft.Internal.VisualStudio.PlatformUI::GelPropertyGetterCallback

The getter function.

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.

Show: