Contains(T) 方法 (String)
不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Public Function Contains(Of T) ( _
propertyName As String _
) As Boolean
'用途
Dim instance As SfcPropertyCollection
Dim propertyName As String
Dim returnValue As Boolean
returnValue = instance.Contains(propertyName)
public bool Contains<T>(
string propertyName
)
public:
generic<typename T>
virtual bool Contains(
String^ propertyName
) sealed
abstract Contains :
propertyName:string -> bool
override Contains :
propertyName:string -> bool
JScript 不支援一般類型和方法。
型別參數
- T
參數
- propertyName
型別:System. . :: . .String
A string that represents the property name.
傳回值
型別:System. . :: . .Boolean
true if the specified property exists in the property collection; otherwise, false.