ArcFM Desktop Developer Guide
InvokerParameterNameAttribute Class
Members  Example 


Product Availability
Required Licenses
.NET Assembly
Indicates that the function argument should be string literal and match one of the parameters of the caller function. For example, ReSharper annotates the parameter of System.ArgumentNullException
Object Model
InvokerParameterNameAttribute Class
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Parameter, 
   AllowMultiple=False, 
   Inherited=True)>
Public NotInheritable Class InvokerParameterNameAttribute 
   Inherits System.Attribute
'Usage
 
Dim instance As InvokerParameterNameAttribute
[AttributeUsage(ValidOn=AttributeTargets.Parameter, 
   AllowMultiple=false, 
   Inherited=true)]
public sealed class InvokerParameterNameAttribute : System.Attribute 
Example
public void Foo(string param) {
  if (param == null)
    throw new ArgumentNullException("par"); // Warning: Cannot resolve symbol
}
Inheritance Hierarchy

System.Object
   System.Attribute
      Miner.Desktop.DesignerExpress.Annotations.InvokerParameterNameAttribute

Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

InvokerParameterNameAttribute Members
Miner.Desktop.DesignerExpress.Annotations Namespace

 

 


Send Comment