IdeaBlade DevForce 2010 Help Reference
GetElementType Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core.Configuration Namespace > ConfigEditorAttribute Class : GetElementType Method



type
The collection type whose element type is desired
Gets the element type of a collection annotated with the ConfigEditor attribute

Syntax

Visual Basic (Declaration) 
Public Shared Function GetElementType( _
   ByVal type As Type _
) As Type
Visual Basic (Usage)Copy Code
Dim type As Type
Dim value As Type
 
value = ConfigEditorAttribute.GetElementType(type)
C# 
public static Type GetElementType( 
   Type type
)
C++/CLI 
public:
static Type^ GetElementType( 
   Type^ type
) 

Parameters

type
The collection type whose element type is desired

Return Value

The type of the elements of the collection Null if the collection is not annotated or the type is not set

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.