IStorageFile class
- Implemented types
- Implementers
Constructors
- IStorageFile.from(IInspectable interface)
-
factory
-
IStorageFile.fromPtr(Pointer<
COMObject> ptr)
Properties
- attributes → FileAttributes
-
no setteroverride
- contentType → String
-
no setter
- dateCreated → DateTime
-
no setteroverride
- fileType → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
no setteroverride
- path → String
-
no setteroverride
-
ptr
↔ Pointer<
COMObject> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRef(
) → int -
Increments the reference count for an interface pointer to a COM object.
inherited
-
copyAndReplaceAsync(
IStorageFile? fileToReplace) → Future< void> -
copyOverload(
IStorageFolder? destinationFolder, String desiredNewName, NameCollisionOption option) → Future< StorageFile?> -
copyOverloadDefaultNameAndOptions(
IStorageFolder? destinationFolder) → Future< StorageFile?> -
copyOverloadDefaultOptions(
IStorageFolder? destinationFolder, String desiredNewName) → Future< StorageFile?> -
deleteAsync(
StorageDeleteOption option) → Future< void> -
override
-
deleteAsyncOverloadDefaultOptions(
) → Future< void> -
override
-
detach(
) → void -
Detaches the object from the
Finalizer
.inherited -
getBasicPropertiesAsync(
) → Future< BasicProperties?> -
override
-
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
inherited
-
getRuntimeClassName(
Pointer< IntPtr> className) → int -
inherited
-
getTrustLevel(
Pointer< Int32> trustLevel) → int -
inherited
-
isOfType(
StorageItemTypes type) → bool -
override
-
moveAndReplaceAsync(
IStorageFile? fileToReplace) → Future< void> -
moveOverload(
IStorageFolder? destinationFolder, String desiredNewName, NameCollisionOption option) → Future< void> -
moveOverloadDefaultNameAndOptions(
IStorageFolder? destinationFolder) → Future< void> -
moveOverloadDefaultOptions(
IStorageFolder? destinationFolder, String desiredNewName) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
openAsync(
FileAccessMode accessMode) → Future< IRandomAccessStream?> -
openReadAsync(
) → Future< IRandomAccessStreamWithContentType?> -
override
-
openSequentialReadAsync(
) → Future< IInputStream?> -
override
-
openTransactedWriteAsync(
) → Future< StorageStreamTransaction?> -
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
Queries a COM object for a pointer to one of its interface; identifying
the interface by a reference to its interface identifier (IID).
inherited
-
release(
) → int -
Decrements the reference count for an interface on a COM object.
inherited
-
renameAsync(
String desiredName, NameCollisionOption option) → Future< void> -
override
-
renameAsyncOverloadDefaultOptions(
String desiredName) → Future< void> -
override
-
toInterface(
String iid) → Pointer< COMObject> -
Cast an existing COM object to a specified interface.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited