public sealed record NativeFileSelection : IEquatable<NativeFileSelection> An acquired native selection, confined to C# provider infrastructure.
Parameters
PathThe acquired local path, never a bridge payload.
AccessOptional access grant transferred to the resulting lease.
AllowsSiblingReplacementWhether access permits same-directory staging and replacement.
Constructors
NativeFileSelection
public NativeFileSelection(string Path, IAsyncDisposable? Access, bool AllowsSiblingReplacement) An acquired native selection, confined to C# provider infrastructure.
Parameters
PathThe acquired local path, never a bridge payload.
AccessOptional access grant transferred to the resulting lease.
AllowsSiblingReplacementWhether access permits same-directory staging and replacement.
Properties
Access
public IAsyncDisposable? Access { get; init; } Optional access grant transferred to the resulting lease.
AllowsSiblingReplacement
public bool AllowsSiblingReplacement { get; init; } Whether access permits same-directory staging and replacement.
Location
public NativeFileLocation Location { get; init; } The filesystem view that holds the path. It selects how a save stages and replaces the file.
Path
public string Path { get; init; } The acquired local path, never a bridge payload.
SelectedFilter
public FileDialogFilter? SelectedFilter { get; init; } The request's filter that was active when the user confirmed the dialog, or null when the dialog does not report it. The first selection of a dialog carries it; a filter that is not one of the request's is ignored.