QuickOPC User's Guide and Reference
StringFormatMethodAttribute Class
Members 



OpcLabs.BaseLib Assembly > JetBrains.Annotations Namespace : StringFormatMethodAttribute Class
Indicates that marked method builds string by format pattern and (optional) arguments. Parameter, which contains format string, should be given in constructor. The format string should be in System.String.Format(System.IFormatProvider,System.String,System.Object[]) -like form
Syntax
'Declaration
 
<AttributeUsageAttribute(ValidOn=AttributeTargets.Constructor Or  _
    AttributeTargets.Method, 
   AllowMultiple=False, 
   Inherited=True)>
<ComVisibleAttribute(False)>
Public NotInheritable Class StringFormatMethodAttribute 
   Inherits System.Attribute
   Implements System.Runtime.InteropServices._Attribute 
'Usage
 
Dim instance As StringFormatMethodAttribute
[AttributeUsage(ValidOn=AttributeTargets.Constructor | 
    AttributeTargets.Method, 
   AllowMultiple=false, 
   Inherited=true)]
[ComVisible(false)]
public sealed class StringFormatMethodAttribute : System.Attribute, System.Runtime.InteropServices._Attribute  
[AttributeUsage(ValidOn=AttributeTargets.Constructor | 
    AttributeTargets.Method, 
   AllowMultiple=false, 
   Inherited=true)]
[ComVisible(false)]
public ref class StringFormatMethodAttribute sealed : public System.Attribute, System.Runtime.InteropServices._Attribute  
Inheritance Hierarchy

System.Object
   System.Attribute
      JetBrains.Annotations.StringFormatMethodAttribute

Requirements

Target Platforms: Windows 7 with SP1, Windows Server 2008 R2 with SP1

See Also

Reference

StringFormatMethodAttribute Members
JetBrains.Annotations Namespace