Metodo GelProperty.RegisterLazyInitializedWpfProperty<TOwner>
Spazio dei nomi: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Sintassi
'Dichiarazione
Public Shared Function RegisterLazyInitializedWpfProperty(Of TOwner) ( _
name As String, _
propertyType As Type, _
getter As GelPropertyGetterCallback _
) As GelProperty
public static GelProperty RegisterLazyInitializedWpfProperty<TOwner>(
string name,
Type propertyType,
GelPropertyGetterCallback getter
)
Parametri di tipo
- TOwner
Parametri
- name
Tipo: System.String
- propertyType
Tipo: System.Type
Valore restituito
Tipo: Microsoft.Internal.VisualStudio.PlatformUI.GelProperty
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.