FileRemovedEventArgs.Id 属性

定义

获取用户从文件选取器中所选文件列表中删除的文件的标识符。 此标识符是由提供应用在将文件添加到所选文件列表时设置的。

public:
 property Platform::String ^ Id { Platform::String ^ get(); };
winrt::hstring Id();
/// [get: Windows.Foundation.Metadata.Deprecated("Since Windows 10, only apps can remove files, not end users so the FileRemoved event will not be raised.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
winrt::hstring Id();
public string Id { get; }
public string Id { [Windows.Foundation.Metadata.Deprecated("Since Windows 10, only apps can remove files, not end users so the FileRemoved event will not be raised.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")] get; }
var string = fileRemovedEventArgs.id;
Public ReadOnly Property Id As String

属性值

String

Platform::String

winrt::hstring

文件的标识符。

属性

适用于

另请参阅