Nevron .NET Vision
Nevron.Dom Namespace / NServiceManager Class / ContainsServiceOfType Method
service type


In This Topic
    ContainsServiceOfType Method
    In This Topic
    Determines whether the document contains a service from the specified type
    Syntax
    'Declaration
     
    
    Public Overridable Function ContainsServiceOfType( _
       ByVal serviceType As System.Type _
    ) As System.Boolean
    'Usage
     
    
    Dim instance As NServiceManager
    Dim serviceType As System.Type
    Dim value As System.Boolean
     
    value = instance.ContainsServiceOfType(serviceType)
    public virtual System.bool ContainsServiceOfType( 
       System.Type serviceType
    )

    Parameters

    serviceType
    service type

    Return Value

    true if a service of this type is contained, otherwise false
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also