CodeDelegate.Prototype[Int32] 属性

定义

返回保持此委托的存根定义的字符串。Returns a string holding the stub definition of this delegate.

public:
 property System::String ^ Prototype[int] { System::String ^ get(int Flags); };
[System.Runtime.InteropServices.DispId(62)]
[get: System.Runtime.InteropServices.DispId(62)]
[get: System.Runtime.InteropServices.TypeLibFunc(1024)]
public string Prototype[int Flags = 0] { get; }
[<System.Runtime.InteropServices.DispId(62)>]
[<get: System.Runtime.InteropServices.DispId(62)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(1024)>]
member this.Prototype(int) : string
Public ReadOnly Property Prototype(Optional Flags As Integer = 0) As String

参数

Flags
Int32

可选。Optional. 一个 vsCMPrototype 值,该值指示字符串内容应为的内容,例如仅参数名称、参数类型、完整唯一签名等。A vsCMPrototype value that indicates what the string contents should be, such as only parameter names, parameter types, whole unique signature, and so forth. 默认情况下,所有标志已设置为“关闭”。All flags are set to Off by default.

属性值

String

保持此委托的存根定义的字符串。A string holding the stub definition of this delegate.

属性

注解

备注

在进行了某些类型的编辑之后,代码模型元素(例如类、结构、函数、特性、委托等)的值可能变为非确定性的,这意味着不能确定它们的值始终保持不变。The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same. 有关详细信息,请参阅 "代码模型元素值在 使用代码模型查找代码时 可能发生变化" (Visual Basic) "。For more information, see the section Code Model Element Values Can Change in Discovering Code by Using the Code Model (Visual Basic).

适用于