Metodo GelProperty.RegisterIndirectIntProperty<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 RegisterIndirectIntProperty(Of TOwner) ( _
name As String, _
getter As Func<(Of <<'(GelDependencyObject, Int32>)>>) _
) As GelProperty
public static GelProperty RegisterIndirectIntProperty<TOwner>(
string name,
Func<(Of <<'(GelDependencyObject, Int32>)>>) getter
)
Parametri di tipo
- TOwner
Parametri
- name
Tipo: System.String
- getter
Tipo: System.Func<GelDependencyObject, Int32>
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.