GelProperty.RegisterLazyInitializedSingleProperty<TOwner> Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function RegisterLazyInitializedSingleProperty(Of TOwner) ( _
name As String, _
getter As Func(Of GelDependencyObject, Single) _
) As GelProperty
public static GelProperty RegisterLazyInitializedSingleProperty<TOwner>(
string name,
Func<GelDependencyObject, float> getter
)
public:
generic<typename TOwner>
static GelProperty^ RegisterLazyInitializedSingleProperty(
String^ name,
Func<GelDependencyObject^, float>^ getter
)
static member RegisterLazyInitializedSingleProperty :
name:string *
getter:Func<GelDependencyObject, float32> -> GelProperty
JScript does not support generic types or methods.
Type Parameters
- TOwner
Parameters
- name
Type: System.String
- getter
Type: System.Func<GelDependencyObject, Single>
Return Value
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty
.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.