Cuemon .NET Framework
GetAncestorOrSelf Method

The source type to traverse.
The base limit of source.
Gets the ancestor-or-self System.Type from the specified source.
Syntax
'Declaration
 
Public Shared Function GetAncestorOrSelf( _
   ByVal source As Type, _
   ByVal sourceBaseLimit As Type _
) As Type
public static Type GetAncestorOrSelf( 
   Type source,
   Type sourceBaseLimit
)

Parameters

source
The source type to traverse.
sourceBaseLimit
The base limit of source.

Return Value

The ancestor-or-self type from the specified source that is derived or equal to sourceBaseLimit.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionsource - or - sourceBaseLimit is null.
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

 

 


| 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