GelProperty.CastToGelPropertyGetterCallback<T> Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared Function CastToGelPropertyGetterCallback(Of T) ( _
func As Func(Of GelDependencyObject, T) _
) As GelPropertyGetterCallback
public static GelPropertyGetterCallback CastToGelPropertyGetterCallback<T>(
Func<GelDependencyObject, T> func
)
public:
generic<typename T>
static GelPropertyGetterCallback^ CastToGelPropertyGetterCallback(
Func<GelDependencyObject^, T>^ func
)
static member CastToGelPropertyGetterCallback :
func:Func<GelDependencyObject, 'T> -> GelPropertyGetterCallback
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- func
Type: System.Func<GelDependencyObject, T>
Return Value
Type: Microsoft.Internal.VisualStudio.PlatformUI.GelPropertyGetterCallback
.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.