ProjectTypeResolutionService::GetType Method (String^, Boolean, Boolean, ReferenceType)

 

When implemented in a derived class, attempts to retrieve a reference type based on search criteria like the name of the type and its case-sensitivity.

Namespace:   Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
virtual Type^ GetType(
	String^ name,
	bool throwOnError,
	bool ignoreCase,
	ReferenceType type
) abstract

Parameters

name
Type: System::String^

The name of the reference to be retrieved.

throwOnError
Type: System::Boolean

If true, indicates that a type retrieval error should throw an exception of type TypeLoadException.

ignoreCase
Type: System::Boolean

If true, indicates that the name search should be case-sensitive.

type
Type: Microsoft.VisualStudio.Shell.Design::ReferenceType

A value from the ReferenceType enumeration.

Return Value

Type: System::Type^

The retrieved type.

Return to top
Show: