ConstantsSentenceCase Method |  |
Hartismere School[This is preliminary documentation and is subject to change.]
Converts a string to Sentance case
Namespace: EJW.TextBasedAdventureAssembly: EJW.TextBasedAdventure (in EJW.TextBasedAdventure.dll) Version: 2.0.5850.21153
Syntaxpublic static string SentenceCase(
this string Text
)
<ExtensionAttribute>
Public Shared Function SentenceCase (
Text As String
) As String
public:
[ExtensionAttribute]
static String^ SentenceCase(
String^ Text
)
[<ExtensionAttribute>]
static member SentenceCase :
Text : string -> string
Parameters
- Text
- Type: SystemString
The text to convert
Return Value
Type:
StringThe converted text
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also