. 方法 (String)

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Private Function Contains(Of T) ( _
    name As String _
) As Boolean Implements ISfcPropertySet.Contains``1
用法
Dim instance As PropertyCollection
Dim name As String
Dim returnValue As Boolean

returnValue = CType(instance, ISfcPropertySet).Contains``1(name)
bool ISfcPropertySet.Contains``1<T>(
    string name
)
private:
generic<typename T>
virtual bool Contains(
    String^ name
) sealed = ISfcPropertySet::Contains``1
private abstract Contains : 
        name:string -> bool 
private override Contains : 
        name:string -> bool 
JScript 不支持一般类型和方法。

类型参数

  • T

参数

返回值

类型:System. . :: . .Boolean

实现

ISfcPropertySetContains``1(String)