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