Property.StringValue Property

IT Hit WebDAV for .NET

String value of the custom property.

[Visual Basic]
Public Property StringValue As String
[C#]
public string StringValue {get; set;}

Remarks

String value of the custom property.

Example

 string license = "<?xml version='1.0' encoding='utf...
 WebDavSession session = new WebDavSession(license);
 session.Credentials = new NetworkCredential("User1", "pwd");
 IResource resource = session.OpenResource(new Uri("https://server/Library/doc.txt"));

 Property[] properties = resource.GetAllProperties();
 foreach(Property prop in properties)
 {
    Console.WriteLine(prop.Name.NamespaceUri + ":" + prop.Name.Name + " " + prop.StringValue);
 }
 

See Also

Property Class | ITHit.WebDAV.Client Namespace