GelProperty.RegisterLazyInitializedBooleanProperty<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 RegisterLazyInitializedBooleanProperty(Of TOwner) ( _
name As String, _
getter As Func(Of GelDependencyObject, Boolean) _
) As GelProperty
public static GelProperty RegisterLazyInitializedBooleanProperty<TOwner>(
string name,
Func<GelDependencyObject, bool> getter
)
public:
generic<typename TOwner>
static GelProperty^ RegisterLazyInitializedBooleanProperty(
String^ name,
Func<GelDependencyObject^, bool>^ getter
)
static member RegisterLazyInitializedBooleanProperty :
name:string *
getter:Func<GelDependencyObject, bool> -> GelProperty
JScript does not support generic types or methods.
Type Parameters
- TOwner
Parameters
- name
Type: System.String
- getter
Type: System.Func<GelDependencyObject, Boolean>
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.