Share via


RequiresServiceAttribute.ServiceType Property

Gets the service type the class requires.

Namespace:  Microsoft.Windows.Design
Assembly:  Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)

Syntax

'Declaration
Public ReadOnly Property ServiceType As Type
'Usage
Dim instance As RequiresServiceAttribute 
Dim value As Type 

value = instance.ServiceType
public Type ServiceType { get; }
public:
property Type^ ServiceType {
    Type^ get ();
}
public function get ServiceType () : Type

Property Value

Type: System.Type
A Type that indicates the service type the class requires.

.NET Framework Security

See Also

Reference

RequiresServiceAttribute Class

RequiresServiceAttribute Members

Microsoft.Windows.Design Namespace

RequiresContextItemAttribute

UsesItemPolicyAttribute

PrimarySelectionPolicy

FeatureProvider

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility