Share via


ModelFactory.ResolveType Method

Gets a resolved type for the specified TypeIdentifier.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared Function ResolveType ( _
    context As EditingContext, _
    typeIdentifier As TypeIdentifier _
) As Type
public static Type ResolveType(
    EditingContext context,
    TypeIdentifier typeIdentifier
)
public:
static Type^ ResolveType(
    EditingContext^ context, 
    TypeIdentifier typeIdentifier
)
static member ResolveType : 
        context:EditingContext * 
        typeIdentifier:TypeIdentifier -> Type 
public static function ResolveType(
    context : EditingContext, 
    typeIdentifier : TypeIdentifier
) : Type

Parameters

Return Value

Type: System.Type
A type that matches typeIdentifier from one of the designer's referenced assemblies.

Exceptions

Exception Condition
ArgumentNullException

context or typeIdentifier is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ModelFactory Class

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility

Editing Model Architecture