Metodo GelProperty.RegisterDoubleProperty<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 RegisterDoubleProperty(Of TOwner) ( _
name As String, _
defaultValue As Double, _
propertyChanged As GelPropertyChangedCallback, _
validator As GelPropertyValidatorCallback _
) As GelProperty
public static GelProperty RegisterDoubleProperty<TOwner>(
string name,
double defaultValue,
GelPropertyChangedCallback propertyChanged,
GelPropertyValidatorCallback validator
)
Parametri di tipo
- TOwner
Parametri
- name
Tipo: System.String
- defaultValue
Tipo: System.Double
- propertyChanged
Tipo: Microsoft.Internal.VisualStudio.PlatformUI.GelPropertyChangedCallback
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.