SqlCeConnectionStringBuilder.ShouldSerialize 方法
指示指定的键是否存在于此 SqlCeConnectionStringBuilder 实例中。
命名空间: System.Data.SqlServerCe
程序集: System.Data.SqlServerCe(在 System.Data.SqlServerCe.dll 中)
语法
声明
Public Overrides Function ShouldSerialize ( _
keyword As String _
) As Boolean
用法
Dim instance As SqlCeConnectionStringBuilder
Dim keyword As String
Dim returnValue As Boolean
returnValue = instance.ShouldSerialize(keyword)
public override bool ShouldSerialize(
string keyword
)
public:
virtual bool ShouldSerialize(
String^ keyword
) override
abstract ShouldSerialize :
keyword:string -> bool
override ShouldSerialize :
keyword:string -> bool
public override function ShouldSerialize(
keyword : String
) : boolean
参数
- keyword
类型:System.String
要在 SqlCeConnectionStringBuilder 中定位的键。
返回值
类型:System.Boolean
如果 SqlCeConnectionStringBuilder 包含具有指定键的条目,则为 true;否则为 false。