EdmFunctions.Replace(DbExpression, DbExpression, DbExpression) Yöntem
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Kurallı 'Replace' işlevini belirtilen bağımsız değişkenlerle çağıran ve DbFunctionExpression her birinin bir dize sonuç türüne sahip olması gereken bir oluşturur. İfadenin sonuç türü de dizedir.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ Replace(System::Data::Common::CommandTrees::DbExpression ^ stringArgument, System::Data::Common::CommandTrees::DbExpression ^ toReplace, System::Data::Common::CommandTrees::DbExpression ^ replacement);
public static System.Data.Common.CommandTrees.DbFunctionExpression Replace (this System.Data.Common.CommandTrees.DbExpression stringArgument, System.Data.Common.CommandTrees.DbExpression toReplace, System.Data.Common.CommandTrees.DbExpression replacement);
static member Replace : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Replace (stringArgument As DbExpression, toReplace As DbExpression, replacement As DbExpression) As DbFunctionExpression
- stringArgument
- DbExpression
Değiştirme işleminin gerçekleştirildiği dizeyi belirten ifade.
- toReplace
- DbExpression
Değiştirilen dizeyi belirten bir ifade.
- replacement
- DbExpression
Değiştirme dizesini belirten bir ifade.
yerine yeni bir DbFunctionExpression işlevi, her oluşumunun toReplace
ile replacement
değiştirildiği yere göre stringArgument
yeni bir dize döndürür.
stringArgument
veya toReplace
veya replacement
şeklindedir null
.
stringArgument
veya toReplace
replacement
geçersiz.
Ürün | Sürümler |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET geri bildirimi
.NET, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: