FileOpenPicker class winrt Class
Represents a UI element that lets the user choose and open files. In a desktop app, before using an instance of this class in a way that displays UI, you'll need to associate the object with its owner's window handle.
- Inheritance
-
- Object
- IUnknown
- IInspectable
- FileOpenPicker
- Implemented types
- Available extensions
Constructors
- FileOpenPicker({Allocator allocator = calloc})
-
FileOpenPicker.fromRawPointer(Pointer<
COMObject> ptr)
Properties
- commitButtonText ↔ String
-
getter/setter pairoverride
-
fileTypeFilter
→ IVector<
String> -
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ptr
↔ Pointer<
COMObject> -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settingsIdentifier ↔ String
-
getter/setter pairoverride
- suggestedStartLocation ↔ PickerLocationId
-
getter/setter pairoverride
- user → User
-
no setter
- viewMode ↔ PickerViewMode
-
getter/setter pairoverride
Methods
-
addRef(
) → int -
inherited
-
getIids(
Pointer< Uint32> iidCount, Pointer<Pointer< iids) → intGUID> > -
inherited
-
getRuntimeClassName(
Pointer< IntPtr> className) → int -
inherited
-
getTrustLevel(
Pointer< Int32> trustLevel) → int -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pickMultipleFilesAsync(
) → Pointer< COMObject> -
override
-
pickSingleFileAsync(
) → Pointer< COMObject> -
override
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > -
inherited
-
release(
) → int -
inherited
-
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
Static Methods
-
createForUser(
User user) → FileOpenPicker