共用方式為


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)

Syntax

'宣告
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
)

Parameters

  • name
    Type: System.String
    The name of the reference to be retrieved.
  • ignoreCase
    Type: System.Boolean
    If true, indicates that the name search should be case-sensitive.

Return Value

Type: System.Type
The retrieved type.

.NET Framework Security

See Also

Reference

ProjectTypeResolutionService Class

GetType Overload

Microsoft.VisualStudio.Shell.Design Namespace