Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A function in a ProjectItem.
Namespace: Microsoft.VisualStudio.Tools.Applications
Assembly: Microsoft.VisualStudio.Tools.Applications (in Microsoft.VisualStudio.Tools.Applications.dll)
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Tools.Applications.CodeElement
Microsoft.VisualStudio.Tools.Applications.CodeFunction
Syntax
public sealed class CodeFunction : CodeElement
public ref class CodeFunction sealed : CodeElement
[<Sealed>]
type CodeFunction =
class
inherit CodeElement
end
Public NotInheritable Class CodeFunction
Inherits CodeElement
Properties
| Name | Description | |
|---|---|---|
![]() |
Body | Gets or sets the text in the function body. |
![]() |
FullName | Gets the fully qualified name of the CodeElement.(Inherited from CodeElement.) |
![]() |
Kind | Gets the kind of the CodeElement.(Inherited from CodeElement.) |
![]() |
Name | Gets the name of the CodeElement.(Inherited from CodeElement.) |
Methods
| Name | Description | |
|---|---|---|
![]() |
Activate() | Activates the parent ProjectItem in the IDE with the current CodeElement visible.(Inherited from CodeElement.) |
![]() |
AppendText(String) | Appends text to the end of the function body. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Format() | Formats the CodeElement.(Inherited from CodeElement.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg)
.jpeg)