共用方式為


CodeProperty.Prototype[Int32] Property

Definition

Returns a string holding the stub definition of this object.

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

Parameters

Flags
Int32

Optional. A vsCMPrototype value that indicates the contents of the string, such as only parameter names, parameter types, or whole unique signature. All flags are set to Off by default.

Property Value

A string describing the element.

Attributes

Remarks

Note

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. For more information, see the section Code Model Element Values Can Change in Discovering Code by Using the Code Model (Visual Basic).

Applies to