NotNullIfNotNullAttribute(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.