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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for