Get() public method

Gets the friend list
public Get ( string nameCase, int count, int offset, int listId, string fields ) : List
nameCase string friends name case
count int
offset int
listId int
fields string fields array to be fetched
return List
Beispiel #1
0
        private void GetFriends()
        {
            //comboBFriends.Items.Clear();
            _friendsFactory = new FriendsFactory(_manager);
            string[] fields = { "uid", "first_name", "last_name" };
            _friendsList = _friendsFactory.Get(_sessionInfo.UserId, "nom", null, 0, null, fields);

            foreach (Friend a in _friendsList)
            {
                comboBFriends.Items.Add(a);
            }
        }