New instance.
Declaration Syntax
C# | Visual Basic |
public Word( string content, int weight, int inTitle, int inURL, int inBody, int startPosition, int endPosition )
Public Sub New ( content As String, weight As Integer, inTitle As Integer, inURL As Integer, inBody As Integer, startPosition As Integer, endPosition As Integer )
Parameters
- content (String)
- The word as a string
- weight (Int32)
- The ranking weight of the word in the document
- inTitle (Int32)
- How many times this word is in the title
- inURL (Int32)
- How many times this word is in the URL
- inBody (Int32)
- How many times this word is in the body
- startPosition (Int32)
- Start of the word
- endPosition (Int32)
- End of the word
Assembly: Keyoti4.SearchEngine.Core (Module: Keyoti4.SearchEngine.Core.dll) Version: 2022.8.22.610