DiscoveryDocumentReference 构造函数  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 DiscoveryDocumentReference 类的新实例。
重载
| DiscoveryDocumentReference() | 
						   初始化 DiscoveryDocumentReference 类的新实例。  | 
        	
| DiscoveryDocumentReference(String) | 
						   初始化 DiscoveryDocumentReference 类的新实例,将 Ref 属性设置为   | 
        	
DiscoveryDocumentReference()
初始化 DiscoveryDocumentReference 类的新实例。
public:
 DiscoveryDocumentReference();
	public DiscoveryDocumentReference ();
	Public Sub New ()
  
  示例
// Create a new instance of DiscoveryDocumentReference.
DiscoveryDocumentReference^ myDiscoveryDocumentReference = gcnew DiscoveryDocumentReference;
// Create a new instance of DiscoveryDocumentReference.
DiscoveryDocumentReference myDiscoveryDocumentReference =
    new DiscoveryDocumentReference();
' Create a new instance of DiscoveryDocumentReference.
Dim myDiscoveryDocumentReference As _
    New DiscoveryDocumentReference()
  适用于
DiscoveryDocumentReference(String)
初始化 DiscoveryDocumentReference 类的新实例,将 Ref 属性设置为 href 的值。
public:
 DiscoveryDocumentReference(System::String ^ href);
	public DiscoveryDocumentReference (string href);
	new System.Web.Services.Discovery.DiscoveryDocumentReference : string -> System.Web.Services.Discovery.DiscoveryDocumentReference
	Public Sub New (href As String)
	参数
示例
DiscoveryDocumentReference^ myDiscoveryDocumentReference = 
   gcnew DiscoveryDocumentReference( 
   "http://localhost/Sample_cpp.disco" );
DiscoveryDocumentReference myDiscoveryDocumentReference =
    new DiscoveryDocumentReference(
    "http://localhost/Sample_cs.disco");
Dim myDiscoveryDocumentReference As New _
    DiscoveryDocumentReference("http://localhost/Sample_vb.disco")