GelProperty.RegisterIndirectProperty<TOwner> Method (String, String, __VSUIDATAFORMAT, GelPropertyGetterCallback)
[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)
Syntax
'Declaration
Public Shared Function RegisterIndirectProperty(Of TOwner) ( _
name As String, _
type As String, _
format As __VSUIDATAFORMAT, _
getter As GelPropertyGetterCallback _
) As GelProperty
public static GelProperty RegisterIndirectProperty<TOwner>(
string name,
string type,
__VSUIDATAFORMAT format,
GelPropertyGetterCallback getter
)
public:
generic<typename TOwner>
static GelProperty^ RegisterIndirectProperty(
String^ name,
String^ type,
__VSUIDATAFORMAT format,
GelPropertyGetterCallback^ getter
)
static member RegisterIndirectProperty :
name:string *
type:string *
format:__VSUIDATAFORMAT *
getter:GelPropertyGetterCallback -> GelProperty
JScript does not support generic types or methods.
Type Parameters
- TOwner
Owning type.
Parameters
name
Type: System.StringName of the new property.
type
Type: System.StringData type of the new property (VsUIType).
format
Type: Microsoft.VisualStudio.Shell.Interop.__VSUIDATAFORMATData format of the new property.
getter
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelPropertyGetterCallbackOne-time getter function.
Return Value
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty
The registered property.
.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.