ImportCollection.Add(Import) 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.
Adds the specified Import to the end of the ImportCollection.
public:
int Add(System::Web::Services::Description::Import ^ import);
public int Add (System.Web.Services.Description.Import import);
member this.Add : System.Web.Services.Description.Import -> int
Public Function Add (import As Import) As Integer
Parameters
Returns
The zero-based index where the import
parameter has been added.
Examples
The following example shows the use of the Add
method. For more information about the CreateImport
method used in the sample, see the example under the Import class.
ServiceDescription^ myServiceDescription = ServiceDescription::Read( "StockQuote_cpp.wsdl" );
myServiceDescription->Imports->Add( CreateImport( "http://localhost/stockquote/schemas", "http://localhost/stockquote/stockquote_cpp.xsd" ) );
ServiceDescription myServiceDescription =
ServiceDescription.Read("StockQuote_cs.wsdl");
myServiceDescription.Imports.Add(
CreateImport("http://localhost/stockquote/schemas",
"http://localhost/stockquote/stockquote_cs.xsd"));
Dim myServiceDescription As ServiceDescription = _
ServiceDescription.Read("StockQuote_vb.wsdl")
myServiceDescription.Imports.Add( _
CreateImport("http://localhost/stockquote/schemas", _
"http://localhost/stockquote/stockquote_vb.xsd"))
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ