FeatureLayerGetFeatureByFieldValue 方法 |
获取 IFeature 通过 字段名称
命名空间:
GISShare.SMap.WPF.Layer
程序集:
GISShare.SMap.WPF (在 GISShare.SMap.WPF.dll 中) 版本:1.9.1.6 (1.9.1.6)
语法public IFeature GetFeatureByFieldValue(
string strFieldName,
string strFieldValue,
StringMatchingStyle eStringMatchingStyle = StringMatchingStyle.eEqual
)
Public Function GetFeatureByFieldValue (
strFieldName As String,
strFieldValue As String,
Optional eStringMatchingStyle As StringMatchingStyle = StringMatchingStyle.eEqual
) As IFeature
public:
virtual IFeature^ GetFeatureByFieldValue(
String^ strFieldName,
String^ strFieldValue,
StringMatchingStyle eStringMatchingStyle = StringMatchingStyle::eEqual
) sealed
abstract GetFeatureByFieldValue :
strFieldName : string *
strFieldValue : string *
?eStringMatchingStyle : StringMatchingStyle
(* Defaults:
let _eStringMatchingStyle = defaultArg eStringMatchingStyle StringMatchingStyle.eEqual
*)
-> IFeature
override GetFeatureByFieldValue :
strFieldName : string *
strFieldValue : string *
?eStringMatchingStyle : StringMatchingStyle
(* Defaults:
let _eStringMatchingStyle = defaultArg eStringMatchingStyle StringMatchingStyle.eEqual
*)
-> IFeature
参数
- strFieldName
- 类型: SystemString
字段名称 - strFieldValue
- 类型: SystemString
字段值 - eStringMatchingStyle (Optional)
- 类型: GISShare.SMap.WPFStringMatchingStyle
字符串比对方式
返回值
类型:
IFeature实现
IFeatureLayerGetFeatureByFieldValue(String, String, StringMatchingStyle)
参见