共用方式為


SqlString.Implicit(String to SqlString) 運算子

定義

String 參數轉換成 SqlString

public:
 static operator System::Data::SqlTypes::SqlString(System::String ^ x);
public static implicit operator System.Data.SqlTypes.SqlString (string x);
static member op_Implicit : string -> System.Data.SqlTypes.SqlString
Public Shared Widening Operator CType (x As String) As SqlString

參數

x
String

要轉換的 String

傳回

SqlString,包含指定 String 的值。

適用於

另請參閱