Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Determines if the ServiceManager contains a service of the specified type.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design (in Microsoft.Windows.Design.dll)
Syntax
'Declaration
Public Function Contains(Of ServiceType) As Boolean
'Usage
Dim instance As ServiceManager
Dim returnValue As Boolean
returnValue = instance.Contains()
public bool Contains<ServiceType>()
public:
generic<typename ServiceType>
bool Contains()
JScript does not support generic types or methods.
Type Parameters
- ServiceType
The type of service to search for.
Return Value
Type: System.Boolean
true if ServiceManager contains serviceType; otherwise, false.
.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
Microsoft.Windows.Design Namespace