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.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för