XdsObjects Help file
XdsObjects Namespace / XdsDocument Class / Hash Property



Hash Property
Hash key of the XDS Document itself.
Syntax
Public Property Hash As String
Dim instance As XdsDocument
Dim value As String
 
instance.Hash = value
 
value = instance.Hash
public string Hash {get; set;}
public:
property String^ Hash {
   String^ get();
   void set (    String^ value);
}
Remarks

This property corresponds to the XDSDocumentEntry.hash 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 Size) 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