共用方式為


VCCodeDelegate.Prototype 屬性

傳回具有這個物件 Stub 定義的字串。

命名空間:  Microsoft.VisualStudio.VCCodeModel
組件:  Microsoft.VisualStudio.VCCodeModel (在 Microsoft.VisualStudio.VCCodeModel.dll 中)

語法

'宣告
ReadOnly Property Prototype ( _
    Flags As Integer _
) As String
string this[
    int Flags
] { get; }
property String^ Prototype[int Flags] {
    String^ get (int Flags);
}
abstract Prototype : 
        Flags:int -> string with get
JScript 不支援索引屬性。

參數

  • Flags
    類型:Int32

    選擇項。 vsCMPrototype 值,表示字串應包含的內容 (例如僅參數名稱、參數型別、整體唯一簽章等)。 依據預設所有旗標都是設定為關閉。

屬性值

類型:String
傳回描述項目的字串。

.NET Framework 安全性

請參閱

參考

VCCodeDelegate 介面

Microsoft.VisualStudio.VCCodeModel 命名空間

其他資源

如何:編譯和執行 Automation 物件模型程式碼範例