Add 方法 (String, Object)

Creates and adds an AlgorithmParameter, with the specified name and value, to the end of the collection.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Function Add ( _
    name As String, _
    value As Object _
) As AlgorithmParameter
'用途
Dim instance As AlgorithmParameterCollection
Dim name As String
Dim value As Object
Dim returnValue As AlgorithmParameter

returnValue = instance.Add(name, value)
public AlgorithmParameter Add(
    string name,
    Object value
)
public:
AlgorithmParameter^ Add(
    String^ name, 
    Object^ value
)
member Add : 
        name:string * 
        value:Object -> AlgorithmParameter 
public function Add(
    name : String, 
    value : Object
) : AlgorithmParameter

參數

傳回值

型別:Microsoft.AnalysisServices. . :: . .AlgorithmParameter
The AlgorithmParameter that was added to the collection.