| StringFormatMethodAttribute Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: Ozeki.Common
 Syntax
SyntaxThe StringFormatMethodAttribute type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | StringFormatMethodAttribute | Initializes a new instance of the StringFormatMethodAttribute class | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | FormatParameterName | 
 Examples
Examples[StringFormatMethod("message")] public void ShowError(string message, params object[] args) { /* do something */ } public void Foo() { ShowError("Failed: {0}"); // Warning: Non-existing argument in format string }
 See Also
See Also