Skip to content

Commit 1a91bc5

Browse files
authored
Update display-ui-objects.md (#4607)
`IDataTransferManagerInterop` is not related to `UserConsentVerifier` and seems to be a copy-paste error from the paragraph above it. `IUserConsentVerifierInterop` is the correct interface.
1 parent 821e1cf commit 1a91bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hub/apps/develop/ui-input/display-ui-objects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ The [**Windows.Security.Credentials.UI.UserConsentVerifier**](/uwp/api/windows.s
207207
In a desktop app, instead of calling the [**UserConsentVerifier.RequestVerificationAsync**](/uwp/api/windows.security.credentials.ui.userconsentverifier.requestverificationasync) method:
208208

209209
* **C#**. Call the **RequestVerificationForWindowAsync** method of the **Windows.Security.Credentials.UI.UserConsentVerifierInterop** C# interop class. For more info about the C# interop classes, see [Call interop APIs from a .NET app](../../desktop/modernize/winrt-com-interop-csharp.md).
210-
* **C++/WinRT**. Call [**IDataTransferManagerInterop::ShowShareUIForWindow**](/windows/win32/api/shobjidl_core/nf-shobjidl_core-idatatransfermanagerinterop-showshareuiforwindow).
210+
* **C++/WinRT**. Call [**IUserConsentVerifierInterop::RequestVerificationForWindowAsync**](/windows/win32/api/userconsentverifierinterop/nf-userconsentverifierinterop-iuserconsentverifierinterop-requestverificationforwindowasync).
211211

212212
For more info, and code examples, see [**UserConsentVerifier**](/uwp/api/windows.security.credentials.ui.userconsentverifier).
213213

0 commit comments

Comments
 (0)