NotificationVisual.GetBinding(String) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the binding with the specified template.
public:
virtual NotificationBinding ^ GetBinding(Platform::String ^ templateName) = GetBinding;
NotificationBinding GetBinding(winrt::hstring const& templateName);
public NotificationBinding GetBinding(string templateName);
function getBinding(templateName)
Public Function GetBinding (templateName As String) As NotificationBinding
- templateName
-
String
Platform::String
winrt::hstring
The template for the binding visual. You can use the properties of the KnownNotificationBindings class to retrieve the string for each of the available template types.
The binding with the specified template, if it exists; otherwise, null.
Product | Versions |
---|---|
WinRT | Build 14383, Build 15063, Build 16299, Build 17134, Build 17763, Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |