ICodeGenerator.GetTypeOutput(CodeTypeReference) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
得到由指定 CodeTypeReference所指示的類型。
public:
System::String ^ GetTypeOutput(System::CodeDom::CodeTypeReference ^ type);
public string GetTypeOutput(System.CodeDom.CodeTypeReference type);
abstract member GetTypeOutput : System.CodeDom.CodeTypeReference -> string
Public Function GetTypeOutput (type As CodeTypeReference) As String
參數
- type
- CodeTypeReference
A CodeTypeReference 表示要回傳的類型。
傳回
這是該程式碼產生器所設計的語言所指定的類型文字表示。 例如,在 Visual Basic 中,輸入 System.Int32 型別會回傳「Integer」。