次の方法で共有


DiscoveryDocumentReference コンストラクタ (String)

DiscoveryDocumentReference クラスの新しいインスタンスを初期化し、Ref プロパティを href の値に設定します。

名前空間: System.Web.Services.Discovery
アセンブリ: System.Web.Services (system.web.services.dll 内)

構文

'宣言
Public Sub New ( _
    href As String _
)
'使用
Dim href As String

Dim instance As New DiscoveryDocumentReference(href)
public DiscoveryDocumentReference (
    string href
)
public:
DiscoveryDocumentReference (
    String^ href
)
public DiscoveryDocumentReference (
    String href
)
public function DiscoveryDocumentReference (
    href : String
)
適用できません。

パラメータ

  • href
    探索ドキュメントへの参照。Ref プロパティは、href の値に設定されます。

使用例

Dim myDiscoveryDocumentReference As New _
    DiscoveryDocumentReference("https://localhost/Sample_vb.disco")
DiscoveryDocumentReference myDiscoveryDocumentReference = 
    new DiscoveryDocumentReference(
    "https://localhost/Sample_cs.disco");
DiscoveryDocumentReference^ myDiscoveryDocumentReference = 
   gcnew DiscoveryDocumentReference( 
   "https://localhost/Sample_cpp.disco" );
DiscoveryDocumentReference myDiscoveryDocumentReference = 
    new DiscoveryDocumentReference(
    "https://localhost/Sample_jsl.disco");

プラットフォーム

Windows 98,Windows Server 2000 SP4,Windows CE,Windows Millennium Edition,Windows Mobile for Pocket PC,Windows Mobile for Smartphone,Windows Server 2003,Windows XP Media Center Edition,Windows XP Professional x64 Edition,Windows XP SP2,Windows XP Starter Edition

Microsoft .NET Framework 3.0 は Windows Vista,Microsoft Windows XP SP2,および Windows Server 2003 SP1 でサポートされています。

バージョン情報

.NET Framework

サポート対象 : 3.0,2.0,1.1,1.0

参照

関連項目

DiscoveryDocumentReference クラス
DiscoveryDocumentReference メンバ
System.Web.Services.Discovery 名前空間