ConfigurationElement.GetTransformedTypeString(String) 方法

定义

返回指定类型名称的转换版本。Returns the transformed version of the specified type name.

protected:
 virtual System::String ^ GetTransformedTypeString(System::String ^ typeName);
protected virtual string GetTransformedTypeString (string typeName);
abstract member GetTransformedTypeString : string -> string
override this.GetTransformedTypeString : string -> string
Protected Overridable Function GetTransformedTypeString (typeName As String) As String

参数

typeName
String

类型的名称。The name of the type.

返回

指定类型名称的转换版本。The transformed version of the specified type name. 如果没有可用的转换器,则返回的 typeName 参数值保持不变。If no transformer is available, the typeName parameter value is returned unchanged. 如果没有可用的转换器,则 TypeStringTransformer 属性为 nullThe TypeStringTransformer property is null if no transformer is available.

注解

@No__t-0 方法和第 1 @no__t 方法调用此方法,以便在面向 @no__t 的早期版本时转换类型名称。The SerializeElement method and the SerializeToXmlElement method call this method in order to transform a type name when an earlier version of the .NET Framework.NET Framework is targeted.

适用于

另请参阅