ContractBase.QueryContract(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reflects over the instance of a contract and returns the this
pointer if the current object implements that contract.
public:
virtual System::AddIn::Contract::IContract ^ QueryContract(System::String ^ contractIdentifier);
public virtual System.AddIn.Contract.IContract QueryContract (string contractIdentifier);
abstract member QueryContract : string -> System.AddIn.Contract.IContract
override this.QueryContract : string -> System.AddIn.Contract.IContract
Public Overridable Function QueryContract (contractIdentifier As String) As IContract
Parameters
- contractIdentifier
- String
The full name of the contract, including its assembly name.
Returns
The this
pointer to an IContract interface, or null
if the contract is not implemented.
Implements
Exceptions
contractIdentifier
is null
.
Remarks
This method can be overridden.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.