共用方式為


Contains 方法

Indicates whether the items in a collection can be accessed by using indexing without throwing an exception.

命名空間:  Microsoft.SqlServer.Dts.Tasks.WebServiceTask
組件:  Microsoft.SqlServer.WebServiceTask (在 Microsoft.SqlServer.WebServiceTask.dll 中)

語法

'宣告
Public Function Contains ( _
    paramValue As DTSParamValue _
) As Boolean
'用途
Dim instance As DTSParamValueCollection
Dim paramValue As DTSParamValue
Dim returnValue As Boolean

returnValue = instance.Contains(paramValue)
public bool Contains(
    DTSParamValue paramValue
)
public:
bool Contains(
    DTSParamValue^ paramValue
)
member Contains : 
        paramValue:DTSParamValue -> bool 
public function Contains(
    paramValue : DTSParamValue
) : boolean

參數

傳回值

型別:System. . :: . .Boolean
true if the collection can be accessed by using the syntax DTSParamValueCollection [index]; false if indexing cannot be used to retrieve items from the collection.