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