This documentation is archived and is not being maintained.

DiscoveryDocumentReference.DefaultFilename Property

Gets the name of the default file to use when saving the referenced discovery document.

[Visual Basic]
Overrides Public ReadOnly Property DefaultFilename As String
[C#]
public override string DefaultFilename {get;}
[C++]
public: __property String* get_DefaultFilename();
[JScript]
public override function get DefaultFilename() : String;

Property Value

Name of the default file to use when saving the referenced document to a file.

Example

[Visual Basic] 
' Display the name of the default file used for reference.
Console.WriteLine( _
    myDiscoveryDocumentReference.DefaultFilename.ToString())

[C#] 
// Display the name of the default file used for reference.
Console.WriteLine(
    myDiscoveryDocumentReference.DefaultFilename.ToString());

[C++] 
// Display the name of the default file used for reference.
Console::WriteLine(myDiscoveryDocumentReference->DefaultFilename);

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DiscoveryDocumentReference Class | DiscoveryDocumentReference Members | System.Web.Services.Discovery Namespace

Show: