GelProperty.RegisterIndirectBuiltInProperty<TOwner> Method
Microsoft internal use only.
Registers a built-in 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 RegisterIndirectBuiltInProperty(Of TOwner) ( _
name As String, _
type As String, _
getter As GelPropertyGetterCallback _
) As GelProperty
public static GelProperty RegisterIndirectBuiltInProperty<TOwner>(
string name,
string type,
GelPropertyGetterCallback getter
)
Type Parameters
- TOwner
Owning type.
Parameters
- name
Type: System.String
Name of the new property.
- type
Type: System.String
Data type of the new property (VsUIType).
- getter
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelPropertyGetterCallback
One-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.