Bewerken

Delen via


NotNullIfNotNullAttribute(String) Constructor

Definition

Initializes the attribute with the associated parameter name.

public:
 NotNullIfNotNullAttribute(System::String ^ parameterName);
public NotNullIfNotNullAttribute (string parameterName);
new System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute : string -> System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute
Public Sub New (parameterName As String)

Parameters

parameterName
String

The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.

Applies to