IdeaBlade DevForce 2010 Help Reference
Article Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > GrammarLibrary Class : Article Method



pParams
Returns the proper article for a subject. e.g. "a" or "an".

Syntax

Visual Basic (Declaration) 
Public Overridable Function Article( _
   ByVal pParams() As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As GrammarLibrary
Dim pParams() As String
Dim value As String
 
value = instance.Article(pParams)
C# 
public virtual string Article( 
   string[] pParams
)
C++/CLI 
public:
virtual String^ Article( 
   array<String^>^ pParams
) 

Parameters

pParams

Remarks

This method is reflectively called from GrammarString.Format() when the format string contains the syntax: "{article(subject)}". For example, the statement GrammarString.Format("You have {article({0})} {0}", "apple") results in the string "You have an apple".

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.