liveexpocategory.cs
来自「Accessing microsoft live web services fr」· CS 代码 · 共 55 行
CS
55 行
using System;
using System.Collections.Generic;
using System.Text;
namespace LiveExpoService
{
/// <summary>
/// LiveExpoCategory
///
/// This class is simply used to store properties for one particular Live Expo category.
/// These categories will be used to search for particular items that are published on the Live Expo site.
/// </summary>
/// <remarks>
/// For each category there are also specific attributes available in Live Expo to determine the meaning and
/// datatypes for each individual item to lookup. These are not used in this version of the LiveExpoService assembly.
/// </remarks>
public class LiveExpoCategory
{
private int id;
private string name;
public LiveExpoCategory(int id, string name)
{
this.id = id;
this.name = name;
}
public int ID
{
get
{
return id;
}
set
{
id = value;
}
}
public string Name
{
get
{
return name;
}
set
{
name = value;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?