다음을 통해 공유


OperationBindingCollection.Item[Int32] 속성

정의

지정된 인덱스(0부터 시작)에서 OperationBinding 값을 가져오거나 설정합니다.

public:
 property System::Web::Services::Description::OperationBinding ^ default[int] { System::Web::Services::Description::OperationBinding ^ get(int index); void set(int index, System::Web::Services::Description::OperationBinding ^ value); };
public System.Web.Services.Description.OperationBinding this[int index] { get; set; }
member this.Item(int) : System.Web.Services.Description.OperationBinding with get, set
Default Public Property Item(index As Integer) As OperationBinding

매개 변수

index
Int32

값이 수정되거나 반환된 OperationBinding의 인덱스이며 0부터 시작합니다.

속성 값

OperationBinding

OperationBinding입니다.

예제

다음 예제에서는 0 기반 인덱스의 멤버를 검색 하려면 사용 된 OperationBindingCollection합니다.

// Get the OperationBinding of the Add operation from the collection.
OperationBinding^ myOperationBinding = myOperationBindingCollection[ 3 ];

// Remove the OperationBinding of the Add operation from
// the collection.
myOperationBindingCollection->Remove( myOperationBinding );
Console::WriteLine( "\nRemoved the OperationBinding of the "
"Add operation from the collection." );
// Get the OperationBinding of the Add operation from the collection.
OperationBinding myOperationBinding =
   myOperationBindingCollection[3];

// Remove the OperationBinding of the Add operation from
// the collection.
myOperationBindingCollection.Remove(myOperationBinding);
Console.WriteLine("\nRemoved the OperationBinding of the " +
   "Add operation from the collection.");
' Get the OperationBinding of the Add operation from the collection.
Dim myOperationBinding As OperationBinding = _
   myOperationBindingCollection(3)

' Remove the OperationBinding of the 'Add' operation from
' the collection.
myOperationBindingCollection.Remove(myOperationBinding)
Console.WriteLine(ControlChars.NewLine & _
   "Removed the OperationBinding of the " & _
   "Add operation from the collection.")

적용 대상