OutputAssetCollection.AddNew Method (String, AssetCreationOptions)
Adds the new output asset.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Public Function AddNew ( _
assetName As String, _
options As AssetCreationOptions _
) As IAsset
'Usage
Dim instance As OutputAssetCollection
Dim assetName As String
Dim options As AssetCreationOptions
Dim returnValue As IAsset
returnValue = instance.AddNew(assetName, _
options)
public IAsset AddNew(
string assetName,
AssetCreationOptions options
)
public:
IAsset^ AddNew(
String^ assetName,
AssetCreationOptions options
)
member AddNew :
assetName:string *
options:AssetCreationOptions -> IAsset
public function AddNew(
assetName : String,
options : AssetCreationOptions
) : IAsset
Parameters
- assetName
Type: System.String
The asset name.
- options
Type: Microsoft.WindowsAzure.MediaServices.Client.AssetCreationOptions
The options.
Return Value
Type: Microsoft.WindowsAzure.MediaServices.Client.IAsset
The new asset.