DataTemplateKey Constructor (Object)

Initializes a new instance of the DataTemplateKey class, setting the DataType property to the specified value.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public Sub New ( _
    dataType As Object _
)
public DataTemplateKey(
    Object dataType
)

Parameters

Exceptions

Exception Condition
ArgumentException

dataType is not of type Type.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.