[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="SetCapabilityValue", Action="SetCapabilityValue")]
void SetCapabilityValue(
string ,
TwainCapabilityType ,
TwainItemType ,
string ,
object
)
'Declaration
<WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=True,
IsRequestFormatSetExplicitly=True,
IsResponseFormatSetExplicitly=True,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)>
<OperationContractAttribute(Name="SetCapabilityValue", Action="SetCapabilityValue")>
Sub SetCapabilityValue( _
ByVal As String, _
ByVal As TwainCapabilityType, _
ByVal As TwainItemType, _
ByVal As String, _
ByVal As Object _
)
'Usage
Dim instance As ITwainService
Dim id As String
Dim capabilityType As TwainCapabilityType
Dim itemType As TwainItemType
Dim value As String
Dim userData As Object
instance.SetCapabilityValue(id, capabilityType, itemType, value, userData)
[WebInvokeAttribute(BodyStyle=WebMessageBodyStyle.WrappedRequest,
IsBodyStyleSetExplicitly=true,
IsRequestFormatSetExplicitly=true,
IsResponseFormatSetExplicitly=true,
Method="POST",
RequestFormat=WebMessageFormat.Json,
ResponseFormat=WebMessageFormat.Json)]
[OperationContractAttribute(Name="SetCapabilityValue", Action="SetCapabilityValue")]
void SetCapabilityValue(
String^ ,
TwainCapabilityType ,
TwainItemType ,
String^ ,
Object^
)