private async void load(string url) { HMS.SP.ListItemCreationInformation spListItemCreationInformation = await SPGet.getListItemCreationInformation(spglb.myClient, url); this.add_ListItemCreationInformation(1, spListItemCreationInformation); this.hide_running(); }
public int add_ListItemCreationInformation(int pos, int level, HMS.SP.ListItemCreationInformation spListItemCreationInformation) { if (spListItemCreationInformation.__HMSError_ != null && (spListItemCreationInformation.__HMSError_.errno != 0 || spListItemCreationInformation.__HMSError_.info != "")) { pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spListItemCreationInformation.__HMSError_)); } pos = this.add__deferred(pos, level, spListItemCreationInformation.__deferred_); pos = this.add__metadata(pos, level, spListItemCreationInformation.__metadata_); pos = this.add__rest(pos, level, spListItemCreationInformation.__rest); pos = this.add_lineAt(pos, level, "FolderUrl", HMS.SP.SPUtil.toString(spListItemCreationInformation.FolderUrl_)); //String; pos = this.add_lineAt(pos, level, "LeafName", HMS.SP.SPUtil.toString(spListItemCreationInformation.LeafName_)); //String; pos = this.add_lineAt(pos, level, "UnderlyingObjectType", HMS.SP.SPUtil.toString(spListItemCreationInformation.UnderlyingObjectType_)); //Int32; return(pos); }
public int add_ListItemCreationInformation_deferred(int pos, int level, HMS.SP.ListItemCreationInformation spListItemCreationInformation) { { string useUrl = spListItemCreationInformation.__deferred_.uri; if (!String.IsNullOrEmpty(useUrl)) { pos = this.add_lineAt(pos, level, false, "ListItemCreationInformation", "", knownPages.pageListItemCreationInformation, useUrl); } else { pos = this.add_lineAt(pos, level, true, "ListItemCreationInformation", "", knownPages.NONE, ""); pos = this.add_ListItemCreationInformation(pos, level + 1, spListItemCreationInformation); } } return(pos); }
public int add_ListItemCreationInformation(int level, HMS.SP.ListItemCreationInformation spListItemCreationInformation) { return(add_ListItemCreationInformation(-1, level, spListItemCreationInformation)); }