Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Public MustOverride Function GetType ( _
    name As String, _
    throwOnError As Boolean, _
    ignoreCase As Boolean, _
    type As ReferenceType _
) As Type
public abstract Type GetType(
    string name,
    bool throwOnError,
    bool ignoreCase,
    ReferenceType type
)
public:
virtual Type^ GetType(
    String^ name, 
    bool throwOnError, 
    bool ignoreCase, 
    ReferenceType type
) abstract
abstract GetType : 
        name:string * 
        throwOnError:bool * 
        ignoreCase:bool * 
        type:ReferenceType -> Type
public abstract function GetType(
    name : String, 
    throwOnError : boolean, 
    ignoreCase : boolean, 
    type : ReferenceType
) : Type
Parameters
- name 
 Type: String- The name of the reference to be retrieved. 
- throwOnError 
 Type: Boolean- If true, indicates that a type retrieval error should throw an exception of type TypeLoadException. 
- ignoreCase 
 Type: 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: Type
The retrieved type.
.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.