New instance.
Declaration Syntax
C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public Word( string content, int weight, int inTitle, int inURL, int inBody, int startPosition, int endPosition )
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 )
Public Sub New ( content As String, weight As Integer, inTitle As Integer, inURL As Integer, inBody As Integer, startPosition As Integer, endPosition As Integer )
public: Word( String^ content, int weight, int inTitle, int inURL, int inBody, int startPosition, int endPosition )
public: Word( String^ content, int weight, int inTitle, int inURL, int inBody, int startPosition, int endPosition )
new : content : string * weight : int * inTitle : int * inURL : int * inBody : int * startPosition : int * endPosition : int -> Word
new : content : string * weight : int * inTitle : int * inURL : int * inBody : int * startPosition : int * endPosition : int -> Word
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: 2015.6.15.120