コード例 #1
0
 public GetTermsByLabelRequestBody(string label, int lcid, schemas.microsoft.com.sharepoint.taxonomy.soap.StringMatchOption matchOption, int resultCollectionSize, string termIds, bool addIfNotFound)
 {
     this.label                = label;
     this.lcid                 = lcid;
     this.matchOption          = matchOption;
     this.resultCollectionSize = resultCollectionSize;
     this.termIds              = termIds;
     this.addIfNotFound        = addIfNotFound;
 }
コード例 #2
0
    public string GetTermsByLabel(string label, int lcid, schemas.microsoft.com.sharepoint.taxonomy.soap.StringMatchOption matchOption, int resultCollectionSize, string termIds, bool addIfNotFound)
    {
        GetTermsByLabelRequest inValue = new GetTermsByLabelRequest();

        inValue.Body                      = new GetTermsByLabelRequestBody();
        inValue.Body.label                = label;
        inValue.Body.lcid                 = lcid;
        inValue.Body.matchOption          = matchOption;
        inValue.Body.resultCollectionSize = resultCollectionSize;
        inValue.Body.termIds              = termIds;
        inValue.Body.addIfNotFound        = addIfNotFound;
        GetTermsByLabelResponse retVal = ((TaxonomywebserviceSoap)(this)).GetTermsByLabel(inValue);

        return(retVal.Body.GetTermsByLabelResult);
    }