XdsObjects Help file
XdsObjects Namespace / XdsDocument Class / Size Property



In This Topic
    Size Property
    In This Topic
    Size of the XDS Document itself.
    Syntax
    Public Property Size As Integer
    Dim instance As XdsDocument
    Dim value As Integer
     
    instance.Size = value
     
    value = instance.Size
    public int Size {get; set;}
    public:
    property int Size {
       int get();
       void set (    int value);
    }
    Remarks

    This property corresponds to the XDSDocumentEntry.size attribute

    This value needs to to be set (possibly using the SetSizeAndHash method) by a repository, before submitting the neta data to the registry, but it does not need to be set by a Document Source prior to a ProvideAndRegister transaction

    Note that this attribute is specially moddifed and handled differently when Multi-Part documents are written using XdsSubmissionSet.WriteXDM, since it (and Hash) have to be modified to relate only to the first part.

    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