TypedConstantExtensions.ToCSharpString(TypedConstant) Method
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.
Returns the System.String that represents the current TypedConstant.
public:
[System::Runtime::CompilerServices::Extension]
static System::String ^ ToCSharpString(Microsoft::CodeAnalysis::TypedConstant constant);
public static string ToCSharpString (this Microsoft.CodeAnalysis.TypedConstant constant);
static member ToCSharpString : Microsoft.CodeAnalysis.TypedConstant -> string
<Extension()>
Public Function ToCSharpString (constant As TypedConstant) As String
Parameters
- constant
- TypedConstant
Returns
A System.String that represents the current TypedConstant.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.