Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if the ServiceManager contains a service of the specified type.
Namespace: Microsoft.Windows.Design
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public Function Contains(Of TServiceType) As Boolean
public bool Contains<TServiceType>()
public:
generic<typename TServiceType>
bool Contains()
member Contains : unit -> bool
JScript does not support generic types or methods.
Type Parameters
- TServiceType
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