次の方法で共有


ProjectTypeResolutionService.GetType Method

Definition

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.

public:
 abstract Type ^ GetType(System::String ^ name, bool throwOnError, bool ignoreCase, Microsoft::VisualStudio::Shell::Design::ReferenceType type);
public:
 abstract Platform::Type ^ GetType(Platform::String ^ name, bool throwOnError, bool ignoreCase, Microsoft::VisualStudio::Shell::Design::ReferenceType type);
public abstract Type GetType (string name, bool throwOnError, bool ignoreCase, Microsoft.VisualStudio.Shell.Design.ReferenceType type);
override this.GetType : string * bool * bool * Microsoft.VisualStudio.Shell.Design.ReferenceType -> Type
Public MustOverride Function GetType (name As String, throwOnError As Boolean, ignoreCase As Boolean, type As ReferenceType) As Type

Parameters

name
String

The name of the reference to be retrieved.

throwOnError
Boolean

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

ignoreCase
Boolean

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

type
ReferenceType

A value from the ReferenceType enumeration.

Returns

The retrieved type.

Applies to