Cuemon .NET Framework
ContainsInterface(Type,Boolean,Type[]) Method

The source type to match against.
Specifies whether to search this member's inheritance chain to find the interfaces.
The target interface types to be matched against.
Determines whether the specified source contains one or more of the target types specified.
Syntax
'Declaration
 
Public Overloads Shared Function ContainsInterface( _
   ByVal source As Type, _
   ByVal inherit As Boolean, _
   ByVal ParamArray targets() As Type _
) As Boolean
public static bool ContainsInterface( 
   Type source,
   bool inherit,
   params Type[] targets
)

Parameters

source
The source type to match against.
inherit
Specifies whether to search this member's inheritance chain to find the interfaces.
targets
The target interface types to be matched against.

Return Value

true if the specified source contains one or more of the target types specified; otherwise, false.
Requirements

Target Platforms: Windows 8, Windows Server 2012, 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

Reference

TypeUtility Class
TypeUtility Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback