次の方法で共有


CpuCollection.GetElementAt メソッド

コレクション内の指定した位置にある Cpu オブジェクトを取得します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
Public Function GetElementAt ( _
    position As Integer _
) As Cpu
'使用
Dim instance As CpuCollection 
Dim position As Integer 
Dim returnValue As Cpu 

returnValue = instance.GetElementAt(position)
public Cpu GetElementAt(
    int position
)
public:
Cpu^ GetElementAt(
    int position
)
member GetElementAt : 
        position:int -> Cpu
public function GetElementAt(
    position : int
) : Cpu

パラメーター

  • position
    型: System.Int32
    コレクション内の位置を指定する Int32 値です。

戻り値

型: Microsoft.SqlServer.Management.Smo.Cpu
コレクション内の指定した位置にある Cpu オブジェクトです。

関連項目

参照

CpuCollection クラス

Microsoft.SqlServer.Management.Smo 名前空間