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