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
- context
Type: Microsoft.Windows.Design.EditingContext
The designer's editing context.
- typeIdentifier
Type: Microsoft.Windows.Design.Metadata.TypeIdentifier
A platform-agnostic identifier for the type.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace