Share via


WMRMResponse.ReplaceQuotesWith

banner art

Previous Next

WMRMResponse.ReplaceQuotesWith

The ReplaceQuotesWith property specifies a replacement for the embedded quotation marks in the string returned by the WMRMResponse.GetLicenseResponse method.

Syntax

  Response
  .ReplaceQuotesWith(
  bstrReplacement
  )

Parameters

bstrReplacement

[in] String containing the replacement for the quotation marks.

Return Values

This property does not return a value.

Remarks

This property is write-only. You must use the ReplaceQuotesWith property if you are not delivering a license silently. You can also use this property for Visual Basic Scripting Edition applications to specify that single quotation marks (') be replaced by quotation marks (") in the response. For Microsoft JScript® you can use single quotes when including this response as a string parameter or use this property to request that quotation marks (") be replaced with a backslash and a quotation mark (\").

Example Code

ResponseObj.ReplaceQuotesWith = """"""    ' For VBScript

Requirements

Version: Windows Media Rights Manager 7 SDK or later

Reference: wmrmobjs 1.0 Type Library

Library: wmrmobjs.dll

Platform: Windows Server 2003

See Also

Previous Next

© 2007 Microsoft Corporation. All rights reserved.