ServiceDescriptionFormatExtensionCollection.IsRequired Method
.NET Framework 3.0
Returns a value indicating whether the specified object is necessary for the operation of the XML Web service.
Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in system.web.services.dll)
Assembly: System.Web.Services (in system.web.services.dll)
public boolean IsRequired ( Object item )
public function IsRequired ( item : Object ) : boolean
Not applicable.
Parameters
- item
An object, either of type XmlElement or ServiceDescriptionFormatExtension, to check whether it is necessary.
Return Value
true if the item parameter is required; otherwise false.// Check 'IsRequired' status for 'myFormatExtensionObject' object in collection. Console::WriteLine( "'IsRequired' status for {0} object is {1}.", myFormatExtensionObject, myCollection->IsRequired( myFormatExtensionObject ) );
// Check 'IsRequired' status for 'myFormatExtensionObject' object
// in collection.
Console.WriteLine("'IsRequired' status for {0} object is {1}.",
System.Convert.ToString(myFormatExtensionObject),
System.Convert.ToString(myCollection.
IsRequired(myFormatExtensionObject)));
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: