DesignerSerializationManager.GetType(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the requested type.
protected:
virtual Type ^ GetType(System::String ^ typeName);
protected virtual Type GetType (string typeName);
protected virtual Type? GetType (string? typeName);
override this.GetType : string -> Type
Protected Overridable Function GetType (typeName As String) As Type
Parameters
- typeName
- String
The name of the type to retrieve.
Returns
The requested type, or null
if the type cannot be resolved.
Remarks
The GetType method will search the service provider for an ITypeResolutionService and, if available, it will delegate to that service to resolve the type. If an ITypeResolutionService is not available, GetType will call the Object.GetType method.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.