This documentation is archived and is not being maintained.
DiscoveryDocumentReference Constructor
.NET Framework 1.1
Initializes a new instance of the DiscoveryDocumentReference class.
Overload List
Initializes a new instance of the DiscoveryDocumentReference class.
[Visual Basic] Public Sub New()
[C#] public DiscoveryDocumentReference();
[C++] public: DiscoveryDocumentReference();
[JScript] public function DiscoveryDocumentReference();
Initializes a new instance of the DiscoveryDocumentReference class, setting the Ref property to the value of href.
[Visual Basic] Public Sub New(String)
[C#] public DiscoveryDocumentReference(string);
[C++] public: DiscoveryDocumentReference(String*);
[JScript] public function DiscoveryDocumentReference(String);
Example
[Visual Basic, C#, C++] Note This example shows how to use one of the overloaded versions of the DiscoveryDocumentReference constructor. For other examples that might be available, see the individual overload topics.
[Visual Basic] Dim myDiscoveryDocumentReference As New _ DiscoveryDocumentReference("http://localhost/Sample_vb.disco") [C#] DiscoveryDocumentReference myDiscoveryDocumentReference = new DiscoveryDocumentReference( "http://localhost/Sample_cs.disco"); [C++] DiscoveryDocumentReference* myDiscoveryDocumentReference = new DiscoveryDocumentReference(S"http://localhost/Sample_cs.disco");
[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button
in the upper-left corner of the page.
See Also
DiscoveryDocumentReference Class | DiscoveryDocumentReference Members | System.Web.Services.Discovery Namespace
Show: