IStorageItem class winrt Interface
Manipulates storage items (files and folders) and their contents, and provides information about them.
- Inheritance
-
- Object
- IUnknown
- IInspectable
- IStorageItem
- Implementers
- Available extensions
Constructors
- IStorageItem.from(IInspectable interface)
-
factory
-
IStorageItem.fromRawPointer(Pointer<
COMObject> ptr)
Properties
- attributes → FileAttributes
-
no setter
- dateCreated → DateTime
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
no setter
- path → String
-
no setter
-
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
-
deleteAsync(
StorageDeleteOption option) → Future< void> -
deleteAsyncOverloadDefaultOptions(
) → Future< void> -
getBasicPropertiesAsync(
) → Future< BasicProperties?> -
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 -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
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> -
renameAsyncOverloadDefaultOptions(
String desiredName) → Future< void> -
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