Silverlight 5 | WinRT |
public sealed class ApplicationData | |
: __ComObject, IApplicationData | |
static public ApplicationData Current { get; } | |
public virtual StorageFolder LocalFolder { get; } | |
public virtual ApplicationDataContainer LocalSettings { get; } | |
public virtual StorageFolder RoamingFolder { get; } | |
public virtual ApplicationDataContainer RoamingSettings { get; } | |
public virtual UInt64 RoamingStorageQuota { get; } | |
public virtual UInt64 RoamingStorageUsage { get; } | |
public virtual StorageFolder TemporaryFolder { get; } | |
public virtual UInt32 Version { get; } | |
public virtual event TypedEventHandler`2<ApplicationData, Object> DataChanged; | |
public virtual void SetVersion(UInt32 desiredVersion, ApplicationDataSetVersionHandler handler); | |
public virtual void SignalDataChanged(); |
public sealed class ApplicationDataCompositeValue | |
: __ComObject, IPropertySet, IObservableMap`2<String, Object>, IDictionary`2<String, Object>, ICollection`1<KeyValuePair`2<String, Object>>, IEnumerable`1<KeyValuePair`2<String, Object>>, IEnumerable | |
public virtual event MapChangedEventHandler`2<String, Object> MapChanged; |
public sealed class ApplicationDataContainer | |
: __ComObject, IApplicationDataContainer | |
public virtual IReadOnlyDictionary`2<String, ApplicationDataContainer> Containers { get; } | |
public virtual ApplicationDataLocality Locality { get; } | |
public virtual String Name { get; } | |
public virtual IPropertySet Values { get; } | |
public virtual ApplicationDataContainer CreateContainer(String name, ApplicationDataCreateDisposition disposition); | |
public virtual void DeleteContainer(String name); |
public sealed class ApplicationDataContainerSettings | |
: __ComObject, IPropertySet, IObservableMap`2<String, Object>, IDictionary`2<String, Object>, ICollection`1<KeyValuePair`2<String, Object>>, IEnumerable`1<KeyValuePair`2<String, Object>>, IEnumerable | |
public virtual event MapChangedEventHandler`2<String, Object> MapChanged; |
public sealed enum ApplicationDataCreateDisposition | |
: IComparable, IFormattable, IConvertible | |
{ Always, Existing } |
public sealed enum ApplicationDataLocality | |
: IComparable, IFormattable, IConvertible | |
{ Local, Roaming, Temporary } |
public sealed class ApplicationDataSetVersionHandler | |
: MulticastDelegate, ICloneable, ISerializable | |
public virtual void Invoke(ApplicationData source, UInt32 currentVersion, UInt32 desiredVersion); |
public sealed enum CreationCollisionOption | |
: IComparable, IFormattable, IConvertible | |
{ GenerateUniqueName, ReplaceExisting, FailIfExists, OpenIfExists } |
public abstract sealed class DownloadsFolder | |
: __ComObject | |
static public StorageFileRetrievalOperation CreateFileAsync(String desiredName); | |
static public StorageFolderRetrievalOperation CreateFolderAsync(String desiredName); |
public sealed enum FileAccessMode | |
: IComparable, IFormattable, IConvertible | |
{ Read, ReadWrite, ReadWriteUnsafe, ReadWriteNoCopyOnWrite } |
public sealed enum FileAttributes | |
: IComparable, IFormattable, IConvertible | |
{ Normal, ReadOnly, Directory, Archive, Temporary } |
public abstract interface IApplicationDataStatics | |
public abstract virtual ApplicationData Current { get; } |
public sealed class IndexedStateRetrievalOperation | |
: __ComObject, IAsyncOperation`1<IndexedState>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<IndexedState> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual IndexedState GetResults(); | |
public virtual void Start(); |
public abstract interface IStorageFile | |
public abstract virtual String FileName { get; } | |
public abstract virtual String FileType { get; } | |
public abstract virtual StatusOperation CopyAndReplaceAsync(StorageFile fileToReplace); | |
public abstract virtual StorageFileRetrievalOperation CopyAsync(IStorageFolder destinationFolder); | |
public abstract virtual StorageFileRetrievalOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName); | |
public abstract virtual StorageFileRetrievalOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option); | |
public abstract virtual StatusOperation MoveAndReplaceAsync(StorageFile fileToReplace); | |
public abstract virtual StatusOperation MoveAsync(IStorageFolder destinationFolder); | |
public abstract virtual StatusOperation MoveAsync(IStorageFolder destinationFolder, String desiredNewName); | |
public abstract virtual StatusOperation MoveAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option); | |
public abstract virtual StreamRetrievalOperation OpenAsync(FileAccessMode accessMode); | |
public abstract virtual StreamReaderRetrievalOperation OpenForReadAsync(); |
public abstract interface IStorageFolder | |
: IStorageFolderQueryOperations | |
public abstract virtual StorageFileRetrievalOperation CreateFileAsync(String desiredName); | |
public abstract virtual StorageFileRetrievalOperation CreateFileAsync(String desiredName, CreationCollisionOption options); | |
public abstract virtual StorageFolderRetrievalOperation CreateFolderAsync(String desiredName); | |
public abstract virtual StorageFolderRetrievalOperation CreateFolderAsync(String desiredName, CreationCollisionOption options); | |
public abstract virtual StorageFileRetrievalOperation GetFileAsync(String name); | |
public abstract virtual StorageFolderRetrievalOperation GetFolderAsync(String name); | |
public abstract virtual IndexedStateRetrievalOperation GetIndexedStateAsync(); | |
public abstract virtual StorageItemRetrievalOperation GetItemAsync(String name); |
public abstract interface IStorageItem | |
public abstract virtual FileAttributes Attributes { get; } | |
public abstract virtual String ContentType { get; } | |
public abstract virtual DateTimeOffset DateCreated { get; } | |
public abstract virtual DateTimeOffset DateModified { get; } | |
public abstract virtual String DisplayType { get; } | |
public abstract virtual String FolderRelativeId { get; } | |
public abstract virtual String Name { get; } | |
public abstract virtual String Path { get; } | |
public abstract virtual StorageItemProperties Properties { get; } | |
public abstract virtual UInt64 Size { get; } | |
public abstract virtual StatusOperation DeleteAsync(); | |
public abstract virtual StatusOperation DeleteAsync(StorageDeleteOption option); | |
public abstract virtual ThumbnailRetrievalOperation GetThumbnailAsync(ThumbnailMode mode); | |
public abstract virtual ThumbnailRetrievalOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize); | |
public abstract virtual ThumbnailRetrievalOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options); | |
public abstract virtual Boolean IsOfType(StorageItemTypes type); | |
public abstract virtual StatusOperation RenameAsync(String desiredName); | |
public abstract virtual StatusOperation RenameAsync(String desiredName, NameCollisionOption option); |
public abstract sealed class KnownFolders | |
: __ComObject | |
static public StorageFolder DocumentsLibrary { get; } | |
static public StorageFolder HomeGroup { get; } | |
static public StorageFolder MediaServerDevices { get; } | |
static public StorageFolder MusicLibrary { get; } | |
static public StorageFolder PicturesLibrary { get; } | |
static public StorageFolder RemovableDevices { get; } | |
static public StorageFolder VideosLibrary { get; } |
public sealed enum NameCollisionOption | |
: IComparable, IFormattable, IConvertible | |
{ GenerateUniqueName, ReplaceExisting, FailIfExists } |
public sealed class StatusOperation | |
: __ComObject, IAsyncAction, IAsyncInfo | |
public virtual AsyncActionCompletedHandler Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual void GetResults(); | |
public virtual void Start(); |
public sealed enum StorageDeleteOption | |
: IComparable, IFormattable, IConvertible | |
{ LocationBasedRecycleBinBehavior, TryMoveToRecycleBin, PermanentDelete } |
public sealed class StorageFile | |
: __ComObject, IStorageFile, IStorageItem | |
public virtual FileAttributes Attributes { get; } | |
public virtual String ContentType { get; } | |
public virtual DateTimeOffset DateCreated { get; } | |
public virtual DateTimeOffset DateModified { get; } | |
public virtual String DisplayType { get; } | |
public virtual String FileName { get; } | |
public virtual String FileType { get; } | |
public virtual String FolderRelativeId { get; } | |
public virtual String Name { get; } | |
public virtual String Path { get; } | |
public virtual StorageItemProperties Properties { get; } | |
public virtual UInt64 Size { get; } | |
public virtual StatusOperation CopyAndReplaceAsync(StorageFile fileToReplace); | |
public virtual StorageFileRetrievalOperation CopyAsync(IStorageFolder destinationFolder); | |
public virtual StorageFileRetrievalOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName); | |
public virtual StorageFileRetrievalOperation CopyAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option); | |
static public CreateFileForTransferOperation CreateFileForTransferAsync(String displayNameWithExtension, StreamReference thumbnail); | |
static public CreateFileForTransferOperation CreateFileForTransferAsync(String displayNameWithExtension, StreamReference thumbnail, FileDataRequestedHandler dataRequested); | |
public virtual StatusOperation DeleteAsync(); | |
public virtual StatusOperation DeleteAsync(StorageDeleteOption option); | |
static public StorageFileRetrievalOperation GetFileFromPathAsync(String path); | |
static public StorageFileRetrievalOperation GetFileFromUriAsync(Uri uri, String displayNameWithExtension, StreamReference thumbnail); | |
public virtual ThumbnailRetrievalOperation GetThumbnailAsync(ThumbnailMode mode); | |
public virtual ThumbnailRetrievalOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize); | |
public virtual ThumbnailRetrievalOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options); | |
public virtual Boolean IsOfType(StorageItemTypes type); | |
public virtual StatusOperation MoveAndReplaceAsync(StorageFile fileToReplace); | |
public virtual StatusOperation MoveAsync(IStorageFolder destinationFolder); | |
public virtual StatusOperation MoveAsync(IStorageFolder destinationFolder, String desiredNewName); | |
public virtual StatusOperation MoveAsync(IStorageFolder destinationFolder, String desiredNewName, NameCollisionOption option); | |
public virtual StreamRetrievalOperation OpenAsync(FileAccessMode accessMode); | |
public virtual StreamReaderRetrievalOperation OpenForReadAsync(); | |
public virtual StatusOperation RenameAsync(String desiredName); | |
public virtual StatusOperation RenameAsync(String desiredName, NameCollisionOption option); |
public sealed class StorageFileRetrievalOperation | |
: __ComObject, IAsyncOperation`1<StorageFile>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<StorageFile> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual StorageFile GetResults(); | |
public virtual void Start(); |
public sealed class StorageFileView | |
: __ComObject, IReadOnlyList`1<IStorageFile>, IEnumerable`1<IStorageFile>, IEnumerable |
public sealed class StorageFolder | |
: __ComObject, IStorageFolder, IStorageFolderQueryOperations, IStorageItem | |
public virtual FileAttributes Attributes { get; } | |
public virtual String ContentType { get; } | |
public virtual DateTimeOffset DateCreated { get; } | |
public virtual DateTimeOffset DateModified { get; } | |
public virtual String DisplayType { get; } | |
public virtual String FolderRelativeId { get; } | |
public virtual String Name { get; } | |
public virtual String Path { get; } | |
public virtual StorageItemProperties Properties { get; } | |
public virtual UInt64 Size { get; } | |
public virtual Boolean AreQueryOptionsSupported(QueryOptions queryOptions); | |
public virtual StorageFileRetrievalOperation CreateFileAsync(String desiredName); | |
public virtual StorageFileRetrievalOperation CreateFileAsync(String desiredName, CreationCollisionOption options); | |
public virtual StorageFileQueryResult CreateFileQuery(); | |
public virtual StorageFileQueryResult CreateFileQuery(CommonFileQuery query); | |
public virtual StorageFileQueryResult CreateFileQueryWithOptions(QueryOptions queryOptions); | |
public virtual StorageFolderRetrievalOperation CreateFolderAsync(String desiredName); | |
public virtual StorageFolderRetrievalOperation CreateFolderAsync(String desiredName, CreationCollisionOption options); | |
public virtual StorageFolderQueryResult CreateFolderQuery(); | |
public virtual StorageFolderQueryResult CreateFolderQuery(CommonFolderQuery query); | |
public virtual StorageFolderQueryResult CreateFolderQueryWithOptions(QueryOptions queryOptions); | |
public virtual StorageItemQueryResult CreateItemQuery(); | |
public virtual StorageItemQueryResult CreateItemQueryWithOptions(QueryOptions queryOptions); | |
public virtual StatusOperation DeleteAsync(); | |
public virtual StatusOperation DeleteAsync(StorageDeleteOption option); | |
public virtual StorageFileRetrievalOperation GetFileAsync(String name); | |
public virtual StorageFileViewOperation GetFilesAsync(CommonFileQuery query, UInt32 startIndex, UInt32 maxItemsToRetrieve); | |
public virtual StorageFileViewOperation GetFilesAsync(CommonFileQuery query); | |
public virtual StorageFileViewOperation GetFilesAsync(); | |
public virtual StorageFolderRetrievalOperation GetFolderAsync(String name); | |
static public StorageFolderRetrievalOperation GetFolderFromPathAsync(String path); | |
public virtual StorageFolderViewOperation GetFoldersAsync(CommonFolderQuery query, UInt32 startIndex, UInt32 maxItemsToRetrieve); | |
public virtual StorageFolderViewOperation GetFoldersAsync(CommonFolderQuery query); | |
public virtual StorageFolderViewOperation GetFoldersAsync(); | |
public virtual IndexedStateRetrievalOperation GetIndexedStateAsync(); | |
public virtual StorageItemRetrievalOperation GetItemAsync(String name); | |
public virtual StorageItemViewOperation GetItemsAsync(UInt32 startIndex, UInt32 maxItemsToRetrieve); | |
public virtual StorageItemViewOperation GetItemsAsync(); | |
public virtual ThumbnailRetrievalOperation GetThumbnailAsync(ThumbnailMode mode); | |
public virtual ThumbnailRetrievalOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize); | |
public virtual ThumbnailRetrievalOperation GetThumbnailAsync(ThumbnailMode mode, UInt32 requestedSize, ThumbnailOptions options); | |
public virtual Boolean IsCommonFileQuerySupported(CommonFileQuery query); | |
public virtual Boolean IsCommonFolderQuerySupported(CommonFolderQuery query); | |
public virtual Boolean IsOfType(StorageItemTypes type); | |
public virtual StatusOperation RenameAsync(String desiredName); | |
public virtual StatusOperation RenameAsync(String desiredName, NameCollisionOption option); |
public sealed class StorageFolderRetrievalOperation | |
: __ComObject, IAsyncOperation`1<StorageFolder>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<StorageFolder> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual StorageFolder GetResults(); | |
public virtual void Start(); |
public sealed class StorageFolderView | |
: __ComObject, IReadOnlyList`1<IStorageFolder>, IEnumerable`1<IStorageFolder>, IEnumerable |
public sealed class StorageItemRetrievalOperation | |
: __ComObject, IAsyncOperation`1<IStorageItem>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<IStorageItem> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual IStorageItem GetResults(); | |
public virtual void Start(); |
public sealed enum StorageItemTypes | |
: IComparable, IFormattable, IConvertible | |
{ None, File, Folder } |
public sealed class StorageItemView | |
: __ComObject, IReadOnlyList`1<IStorageItem>, IEnumerable`1<IStorageItem>, IEnumerable |
public sealed class StreamReaderRetrievalOperation | |
: __ComObject, IAsyncOperation`1<IInputStream>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<IInputStream> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual IInputStream GetResults(); | |
public virtual void Start(); |
public sealed class StreamRetrievalOperation | |
: __ComObject, IAsyncOperation`1<IRandomAccessStream>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<IRandomAccessStream> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual IRandomAccessStream GetResults(); | |
public virtual void Start(); |
public sealed class ThumbnailRetrievalOperation | |
: __ComObject, IAsyncOperation`1<StorageItemThumbnail>, IAsyncInfo | |
public virtual AsyncOperationCompletedHandler`1<StorageItemThumbnail> Completed { get; set; } | |
public virtual Exception ErrorCode { get; } | |
public virtual UInt32 Id { get; } | |
public virtual AsyncStatus Status { get; } | |
public virtual void Cancel(); | |
public virtual void Close(); | |
public virtual StorageItemThumbnail GetResults(); | |
public virtual void Start(); |