แก้ไข

แชร์ผ่าน


XmlSchemaSearchPattern.GetDiscoveryReference(String) Method

Definition

Returns the SchemaReference object for a given discovery document.

public:
 override System::Web::Services::Discovery::DiscoveryReference ^ GetDiscoveryReference(System::String ^ filename);
public override System.Web.Services.Discovery.DiscoveryReference GetDiscoveryReference (string filename);
override this.GetDiscoveryReference : string -> System.Web.Services.Discovery.DiscoveryReference
Public Overrides Function GetDiscoveryReference (filename As String) As DiscoveryReference

Parameters

filename
String

The file system path of the XML Schema document.

Returns

A SchemaReference object that specifies the file name for an XML Schema document.

Remarks

The concrete SchemaReference class inherits from the abstract DiscoveryReference class.

A SchemaReference instance contains the location of the .xsd file.

Applies to