QuickOPC User's Guide and Reference
StringFormatMethodAttribute Constructor



OpcLabs.BaseLib Assembly > JetBrains.Annotations Namespace > StringFormatMethodAttribute Class : StringFormatMethodAttribute Constructor
Specifies which parameter of an annotated method should be treated as format-string
Initializes new instance of StringFormatMethodAttribute
Syntax
'Declaration
 
Public Function New( _
   ByVal formatParameterName As String _
)
'Usage
 
Dim formatParameterName As String
 
Dim instance As New StringFormatMethodAttribute(formatParameterName)
public StringFormatMethodAttribute( 
   string formatParameterName
)
public:
StringFormatMethodAttribute( 
   String^ formatParameterName
)

Parameters

formatParameterName
Specifies which parameter of an annotated method should be treated as format-string
Requirements

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

See Also

Reference

StringFormatMethodAttribute Class
StringFormatMethodAttribute Members