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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
RequiresServiceAttribute Class
RequiresServiceAttribute Members
Microsoft.Windows.Design Namespace