ResXDataNode.GetValueTypeName 方法

定義

擷取值的型別名稱。Retrieves the type name for the value.

多載

GetValueTypeName(ITypeResolutionService)

藉由使用指定的型別解析服務,擷取值的型別名稱。Retrieves the type name for the value by using the specified type resolution service.

GetValueTypeName(AssemblyName[])

藉由檢查指定的組件,擷取值的型別名稱。Retrieves the type name for the value by examining the specified assemblies.

GetValueTypeName(ITypeResolutionService)

藉由使用指定的型別解析服務,擷取值的型別名稱。Retrieves the type name for the value by using the specified type resolution service.

public:
 System::String ^ GetValueTypeName(System::ComponentModel::Design::ITypeResolutionService ^ typeResolver);
public string GetValueTypeName (System.ComponentModel.Design.ITypeResolutionService typeResolver);
member this.GetValueTypeName : System.ComponentModel.Design.ITypeResolutionService -> string
Public Function GetValueTypeName (typeResolver As ITypeResolutionService) As String

參數

typeResolver
ITypeResolutionService

在尋找這個型別的轉換子時所要使用的型別解析服務。The type resolution service to use to locate a converter for this type.

傳回

String

字串,表示類型的完整名稱。A string that represents the fully qualified name of the type.

例外狀況

找不到對應的型別。The corresponding type could not be found.

適用於

GetValueTypeName(AssemblyName[])

藉由檢查指定的組件,擷取值的型別名稱。Retrieves the type name for the value by examining the specified assemblies.

public:
 System::String ^ GetValueTypeName(cli::array <System::Reflection::AssemblyName ^> ^ names);
public string GetValueTypeName (System.Reflection.AssemblyName[] names);
member this.GetValueTypeName : System.Reflection.AssemblyName[] -> string
Public Function GetValueTypeName (names As AssemblyName()) As String

參數

names
AssemblyName[]

要在其中檢查是否有型別的組件。The assemblies to examine for the type.

傳回

String

字串,表示類型的完整名稱。A string that represents the fully qualified name of the type.

例外狀況

找不到對應的型別。The corresponding type could not be found.

適用於