次の方法で共有


Operation.IsBoundBy(OperationBinding) メソッド

定義

指定した OperationBindingOperation と一致するかどうかを示す値を返します。

public:
 bool IsBoundBy(System::Web::Services::Description::OperationBinding ^ operationBinding);
public bool IsBoundBy (System.Web.Services.Description.OperationBinding operationBinding);
member this.IsBoundBy : System.Web.Services.Description.OperationBinding -> bool
Public Function IsBoundBy (operationBinding As OperationBinding) As Boolean

パラメーター

operationBinding
OperationBinding

OperationBinding と一致するかどうかを判断するためにチェックされる Operation

戻り値

Boolean

Operation インスタンスが operationBinding パラメーターと一致する場合は true。それ以外の場合は false

次の例では、このメソッドの一般的な使用方法を IsBoundBy 示します。

Operation^ myPostOperation = gcnew Operation;
myPostOperation->Name = myOperationBinding->Name;
Console::WriteLine( "'Operation' instance uses 'OperationBinding': {0}",
   myPostOperation->IsBoundBy( myOperationBinding ) );
Operation myPostOperation = new Operation();
myPostOperation.Name = myOperationBinding.Name;
Console.WriteLine("'Operation' instance uses 'OperationBinding': "
   +myPostOperation.IsBoundBy(myOperationBinding));
Dim myPostOperation As New Operation()
myPostOperation.Name = myOperationBinding.Name
Console.WriteLine("'Operation' instance uses 'OperationBinding': " + _
                           myPostOperation.IsBoundBy(myOperationBinding).ToString())

適用対象