Checks whether a property with the specified name and type is in the property set.
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Function Contains(Of T) ( _
name As String _
) As Boolean
'用途
Dim instance As ISfcPropertySet
Dim name As String
Dim returnValue As Boolean
returnValue = instance.Contains(name)
bool Contains<T>(
string name
)
generic<typename T>
bool Contains(
String^ name
)
abstract Contains :
name:string -> bool
JScript 不支援一般類型和方法。
型別參數
- T
The type of the property to find.
參數
- name
型別:System.String
The name of the property to find.
傳回值
型別:System.Boolean
true if the property is in the property set; otherwise, false.