A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.microsoft.com/en-us/dotnet/api/system.argumentexception.throwifnullorempty below:

ArgumentException.ThrowIfNullOrEmpty(String, String) Method (System) | Microsoft Learn

ArgumentException.ThrowIfNullOrEmpty(String, String) Method Definition

Throws an exception if argument is null or empty.

public static void ThrowIfNullOrEmpty(string? argument, string? paramName = default);
static member ThrowIfNullOrEmpty : string * string -> unit
Public Shared Sub ThrowIfNullOrEmpty (argument As String, Optional paramName As String = Nothing)
Parameters
argument
String

The string argument to validate as non-null and non-empty.

paramName
String

The name of the parameter with which argument corresponds.

Exceptions

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4