New instance.
Declaration Syntax
C# | Visual Basic | Visual C++ |
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: Word( String^ content, int weight, int inTitle, int inURL, int inBody, int startPosition, int endPosition )
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)
- endPosition (Int32)