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

檔案的識別碼。

屬性

適用於

另請參閱