Partager via


OrganizationServiceContextExtensions.AddProductToKit Method (OrganizationServiceContext, Guid, Guid)

 

Applies To: Dynamics CRM 2015

Adds a product to a kit. (Developer Extensions)

Namespace:   Microsoft.Xrm.Client.Messages
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static void AddProductToKit(
    this OrganizationServiceContext context,
    Guid kitId,
    Guid productId
)
public:
[ExtensionAttribute]
static void AddProductToKit(
    OrganizationServiceContext^ context,
    Guid kitId,
    Guid productId
)
static member AddProductToKit : 
        context:OrganizationServiceContext *
        kitId:Guid *
        productId:Guid -> unit
<ExtensionAttribute>
Public Shared Sub AddProductToKit (
    context As OrganizationServiceContext,
    kitId As Guid,
    productId As Guid
)

Parameters

  • productId
    Type: System.Guid

    The ID of the product to add to the kit.

Remarks

This is a method wrapper for the AddProductToKitRequest and AddProductToKitResponse classes. See the documentation in the Request class for more information about this message.

See Also

OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace
Developer extensions for Microsoft Dynamics CRM 2015

Return to top

© 2017 Microsoft. All rights reserved. Copyright