private Add ( long ownerId, long docId, string accessKey = null ) : long | ||
ownerId | long | |
docId | long | |
accessKey | string | |
Résultat | long |
public long Add(long ownerId, long docId, string accessKey = null)
{
VkErrors.ThrowIfNumberIsNegative(() => ownerId);
VkErrors.ThrowIfNumberIsNegative(() => docId);
var parameters = new VkParameters { { "owner_id", ownerId }, { "doc_id", docId }, { "access_key", accessKey } };
return _vk.Call("docs.add", parameters);
}