Cuemon .NET Framework
ParseFormat(String,Int32,Int32) Method

The desired string format to parse.
The maximum allowed arguments in the string format.
The number of arguments found in the string format.
Parses the given string for any format arguments (eg. Text{0}-{1}.).
Syntax
'Declaration
 
Public Overloads Shared Function ParseFormat( _
   ByVal format As String, _
   ByVal maxArguments As Integer, _
   ByRef foundArguments As Integer _
) As Boolean
public static bool ParseFormat( 
   string format,
   int maxArguments,
   out int foundArguments
)

Parameters

format
The desired string format to parse.
maxArguments
The maximum allowed arguments in the string format.
foundArguments
The number of arguments found in the string format.

Return Value

true if one or more format arguments is found and the found arguments does not exceed the maxArguments parameter; otherwise false.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

StringUtility Class
StringUtility Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback