gdapi.Resource.getProperty C# (CSharp) Method

getProperty() public method

Gets the current property value
public getProperty ( string propertyName ) : string
propertyName string Name of property to get
return string
        public string getProperty(string propertyName)
        {
            return m_dProperties[propertyName];
        }

Usage Example

示例#1
0
 /// <summary>
 /// Deletes a Resource
 /// </summary>
 /// <param name="collectionType">Collection type to delete the resource from</param>
 /// <param name="resource">Resource to delete</param>
 /// <returns>Deleted Resource</returns>
 public Resource delete(string collectionType, Resource resource)
 {
     gdapi.WebRequest rRequestor = new gdapi.WebRequest(this);
     rRequestor.setType("DELETE");
     rRequestor.setQuery(collectionType + "/" + resource.getProperty("id"));
     return(getResourceByRequest(rRequestor));
 }
All Usage Examples Of gdapi.Resource::getProperty