ProjectTypeResolutionService.GetType Yöntem

Tanım

Türetilmiş bir sınıfta uygulandığında, tür adı ve büyük/küçük harf duyarlılığı gibi arama ölçütlerine dayalı bir başvuru türü almaya çalışır.

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

Parametreler

name
String

Alınacak başvurunun adı.

throwOnError
Boolean

İse true , bir tür alma hatasının, türünde bir özel durum oluşturması gerektiğini gösterir TypeLoadException .

ignoreCase
Boolean

Varsa true , ad aramasının büyük/küçük harfe duyarlı olması gerektiğini gösterir.

type
ReferenceType

Numaralandırmadaki bir değer ReferenceType .

Döndürülenler

Type

Alınan tür.

Şunlara uygulanır