SymbolDefinition Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SymbolDefinition(String, SymbolKind, SymbolAccessibility, TextLocation) |
Initializes a new instance of the SymbolDefinition class. |
SymbolDefinition(String, String, SymbolKind, SymbolAccessibility, TextLocation) |
Initializes a new instance of the SymbolDefinition class. |
SymbolDefinition(String, SymbolKind, SymbolAccessibility, TextLocation)
Initializes a new instance of the SymbolDefinition class.
public:
SymbolDefinition(System::String ^ name, Microsoft::VisualStudio::Workspace::Indexing::SymbolKind kind, Microsoft::VisualStudio::Workspace::Indexing::SymbolAccessibility accessibility, Microsoft::VisualStudio::Workspace::Indexing::TextLocation location);
public SymbolDefinition (string name, Microsoft.VisualStudio.Workspace.Indexing.SymbolKind kind, Microsoft.VisualStudio.Workspace.Indexing.SymbolAccessibility accessibility, Microsoft.VisualStudio.Workspace.Indexing.TextLocation location);
new Microsoft.VisualStudio.Workspace.Indexing.SymbolDefinition : string * Microsoft.VisualStudio.Workspace.Indexing.SymbolKind * Microsoft.VisualStudio.Workspace.Indexing.SymbolAccessibility * Microsoft.VisualStudio.Workspace.Indexing.TextLocation -> Microsoft.VisualStudio.Workspace.Indexing.SymbolDefinition
Public Sub New (name As String, kind As SymbolKind, accessibility As SymbolAccessibility, location As TextLocation)
Parameters
- name
- String
The name of the symbol.
- kind
- SymbolKind
The kind of symbol.
- accessibility
- SymbolAccessibility
The visibility of the symbol to surrounding code.
- location
- TextLocation
The location of the definition.
Applies to
SymbolDefinition(String, String, SymbolKind, SymbolAccessibility, TextLocation)
Initializes a new instance of the SymbolDefinition class.
public:
SymbolDefinition(System::String ^ name, System::String ^ fullyQualifiedName, Microsoft::VisualStudio::Workspace::Indexing::SymbolKind kind, Microsoft::VisualStudio::Workspace::Indexing::SymbolAccessibility accessibility, Microsoft::VisualStudio::Workspace::Indexing::TextLocation location);
public SymbolDefinition (string name, string fullyQualifiedName, Microsoft.VisualStudio.Workspace.Indexing.SymbolKind kind, Microsoft.VisualStudio.Workspace.Indexing.SymbolAccessibility accessibility, Microsoft.VisualStudio.Workspace.Indexing.TextLocation location);
new Microsoft.VisualStudio.Workspace.Indexing.SymbolDefinition : string * string * Microsoft.VisualStudio.Workspace.Indexing.SymbolKind * Microsoft.VisualStudio.Workspace.Indexing.SymbolAccessibility * Microsoft.VisualStudio.Workspace.Indexing.TextLocation -> Microsoft.VisualStudio.Workspace.Indexing.SymbolDefinition
Public Sub New (name As String, fullyQualifiedName As String, kind As SymbolKind, accessibility As SymbolAccessibility, location As TextLocation)
Parameters
- name
- String
The name of the symbol.
- fullyQualifiedName
- String
The fully-qualified name of the symbol.
- kind
- SymbolKind
The kind of symbol.
- accessibility
- SymbolAccessibility
The visibility of the symbol to surrounding code.
- location
- TextLocation
The location of the definition.