StringSyntaxAttribute Constructors
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.
Overloads
StringSyntaxAttribute(String) |
Initializes the StringSyntaxAttribute with the identifier of the syntax used. |
StringSyntaxAttribute(String, Object[]) |
Initializes the StringSyntaxAttribute with the identifier of the syntax used. |
StringSyntaxAttribute(String)
- Source:
- StringSyntaxAttribute.cs
- Source:
- StringSyntaxAttribute.cs
- Source:
- StringSyntaxAttribute.cs
Initializes the StringSyntaxAttribute with the identifier of the syntax used.
public:
StringSyntaxAttribute(System::String ^ syntax);
public StringSyntaxAttribute (string syntax);
new System.Diagnostics.CodeAnalysis.StringSyntaxAttribute : string -> System.Diagnostics.CodeAnalysis.StringSyntaxAttribute
Public Sub New (syntax As String)
Parameters
- syntax
- String
The syntax identifier.
Applies to
StringSyntaxAttribute(String, Object[])
- Source:
- StringSyntaxAttribute.cs
- Source:
- StringSyntaxAttribute.cs
- Source:
- StringSyntaxAttribute.cs
Initializes the StringSyntaxAttribute with the identifier of the syntax used.
public:
StringSyntaxAttribute(System::String ^ syntax, ... cli::array <System::Object ^> ^ arguments);
public StringSyntaxAttribute (string syntax, params object?[] arguments);
new System.Diagnostics.CodeAnalysis.StringSyntaxAttribute : string * obj[] -> System.Diagnostics.CodeAnalysis.StringSyntaxAttribute
Public Sub New (syntax As String, ParamArray arguments As Object())
Parameters
- syntax
- String
The syntax identifier.
- arguments
- Object[]
Optional arguments associated with the specific syntax employed.