Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

RequireServiceAttribute Class

Definition

Namespace:
Microsoft.Maui.Controls.Xaml
Assembly:
Microsoft.Maui.Controls.dll
Source:
IMarkupExtension.cs
Source:
IMarkupExtension.cs
Source:
IMarkupExtension.cs

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.

public ref class RequireServiceAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public sealed class RequireServiceAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type RequireServiceAttribute = class
 inherit Attribute
Public NotInheritable Class RequireServiceAttribute
Inherits Attribute
Inheritance
RequireServiceAttribute
Attributes

Constructors

Name Description
RequireServiceAttribute(Type[])

Properties

Name Description
ServiceTypes

Applies to


Feedback

Was this page helpful?