IMediaDataServiceContext.AttachTo Method (String, Object)
Notifies the System.Data.Services.Client.DataServiceContext to start tracking the specified resource and supplies the location of the resource in the specified resource set.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Sub AttachTo ( _
entitySetName As String, _
entity As Object _
)
'Usage
Dim instance As IMediaDataServiceContext
Dim entitySetName As String
Dim entity As Object
instance.AttachTo(entitySetName, entity)
void AttachTo(
string entitySetName,
Object entity
)
void AttachTo(
String^ entitySetName,
Object^ entity
)
abstract AttachTo :
entitySetName:string *
entity:Object -> unit
function AttachTo(
entitySetName : String,
entity : Object
)
Parameters
- entitySetName
Type: System.String
The string value that contains the name of the entity set to which to the entity is attached.
- entity
Type: System.Object
The entity to add.