XdsObjects Help file
XdsObjects Namespace / XdsMultiString Class
Members Example



In This Topic
    XdsMultiString Class
    In This Topic
    Class representing one or more stings
    Syntax
    Public Class XdsMultiString 
    Dim instance As XdsMultiString
    public class XdsMultiString 
    public ref class XdsMultiString 
    Remarks

    There are many places in XDS where only a single value is commonly used, but where multiple values are permissible. This utility class has multiple implicit constructors and so is used in such circumstances in XdsObjects to allow simple assignment of strings, arrays of strings or lists of strings without needing multiple different constructors or methods.

    Therefore, wherever this documentation refers to an XdsMultString object, it is equally permissible to use a string, List<String> or String[], leaving the compiler to apply an implicit conversion.

    Example
    Use of XdsMultiString
    XdsAuthorauthor =newXdsAuthor();
                author.Organisation ="My Hospital";// conversion from simple string
                author.Role =newString[] {"GP","Specialist"};// conversion from Array
    Inheritance Hierarchy

    System.Object
       XdsObjects.XdsMultiString

    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also