ListViewModelBase - Classe
Permet d'accéder à AllItems de modèle de vues de la liste SharePoint
Hiérarchie d’héritage
System.Object
Microsoft.SharePoint.Phone.Application.ViewModelBase
Microsoft.SharePoint.Phone.Application.ListViewModelBase
Espace de noms : Microsoft.SharePoint.Phone.Application
Assembly : Microsoft.SharePoint.Phone.Application (dans Microsoft.SharePoint.Phone.Application.dll)
Syntaxe
'Déclaration
<KnownTypeAttribute(GetType(UserFieldViewModel))> _
<KnownTypeAttribute(GetType(ObservableCollection(Of ChoiceFieldViewModel)))> _
<DataContractAttribute> _
<KnownTypeAttribute(GetType(GeoCoordinate))> _
<KnownTypeAttribute(GetType(UrlFieldViewModel))> _
<KnownTypeAttribute(GetType(AttachmentFieldViewModel))> _
<KnownTypeAttribute(GetType(ObservableCollection(Of AttachmentFieldViewModel)))> _
<KnownTypeAttribute(GetType(ChoiceFieldViewModel))> _
<KnownTypeAttribute(GetType(GeolocationFieldViewModel))> _
<KnownTypeAttribute(GetType(ListDataProviderBase))> _
Public Class ListViewModelBase _
Inherits ViewModelBase
'Utilisation
Dim instance As ListViewModelBase
[KnownTypeAttribute(typeof(UserFieldViewModel))]
[KnownTypeAttribute(typeof(ObservableCollection<ChoiceFieldViewModel>))]
[DataContractAttribute]
[KnownTypeAttribute(typeof(GeoCoordinate))]
[KnownTypeAttribute(typeof(UrlFieldViewModel))]
[KnownTypeAttribute(typeof(AttachmentFieldViewModel))]
[KnownTypeAttribute(typeof(ObservableCollection<AttachmentFieldViewModel>))]
[KnownTypeAttribute(typeof(ChoiceFieldViewModel))]
[KnownTypeAttribute(typeof(GeolocationFieldViewModel))]
[KnownTypeAttribute(typeof(ListDataProviderBase))]
public class ListViewModelBase : ViewModelBase
Cohérence de thread
Tous les membres statique (Partagé dans Visual Basic)s publics de ce type sont thread-safe. Cela n’est pas garanti pour les membres d’instance.