| MediaWikiHelperJoinValuesT Method |
This is preliminary documentation and is subject to change.
Joins multiple values that will be used as parameter value in MediaWiki API request.
Namespace: WikiClientLibrary.InfrastructuresAssembly: WikiClientLibrary (in WikiClientLibrary.dll) Version: 0.9.0-int.2+447d1d590e6726b7881f750a0a0e42908f3e417e
Syntax public static string JoinValues<T>(
IEnumerable<T> values
)
Public Shared Function JoinValues(Of T) (
values As IEnumerable(Of T)
) As String
Dim values As IEnumerable(Of T)
Dim returnValue As String
returnValue = MediaWikiHelper.JoinValues(values)
public:
generic<typename T>
static String^ JoinValues(
IEnumerable<T>^ values
)
static member JoinValues :
values : IEnumerable<'T> -> string
Parameters
- values IEnumerableT
- The values to be joined. ToString will be invoked before concatenating the sequence.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:WikiClientLibrary.Infrastructures.MediaWikiHelper.JoinValues``1(System.Collections.Generic.IEnumerable{``0})"]
Return Value
StringA string of values joined by pipe character or alternative multiple-value separator (U+001F),
or
Empty if
values is empty sequence.
Exceptions Exception | Condition |
---|
ArgumentException | The values contain pipe character '|' and Unit Separator '\u001F' at the same time. |
See Also