DictionaryValueProvider<TValue>.ContainsPrefix(String) 方法

定义

返回一个值,该值指示字典是否包含指定的前缀。Returns a value that indicates whether the dictionary contains the specified prefix.

public:
 virtual bool ContainsPrefix(System::String ^ prefix);
public virtual bool ContainsPrefix (string prefix);
abstract member ContainsPrefix : string -> bool
override this.ContainsPrefix : string -> bool
Public Overridable Function ContainsPrefix (prefix As String) As Boolean

参数

prefix
String

前缀。The prefix.

返回

Boolean

如果字典包含指定前缀,则为 true;否则为 falsetrue if the dictionary contains the specified prefix; otherwise, false.

实现

适用于