ConfigurationElement.GetTransformedTypeString(String) ConfigurationElement.GetTransformedTypeString(String) ConfigurationElement.GetTransformedTypeString(String) ConfigurationElement.GetTransformedTypeString(String) Method

定義

傳回指定之型別名稱的轉換版本。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 String String 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 方法和 @no__t 1 方法會呼叫這個方法,以便在將舊版的 .NET Framework.NET Framework 設為目標時轉換類型名稱。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.

適用於

另請參閱