共用方式為


CodeDelegate.Prototype[Int32] Property

Definition

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)]
public string Prototype[int Flags = 0] { [System.Runtime.InteropServices.DispId(62)] [System.Runtime.InteropServices.TypeLibFunc(1024)] 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

Parameters

Flags
Int32

Optional. 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.

Property Value

A string holding the stub definition of this delegate.

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