Method PropsSet

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{This|interfaces/iavproperties/PropsSet.html}}
 
{{This|interfaces/iavproperties/PropsSet.html}}
  
Установить значение bsValue для свойства bsName
+
Set value bsValue for the property bsName
  
<source lang=cpp>
+
== ==
 +
<source lang=idl>
 
HRESULT PropsSet(
 
HRESULT PropsSet(
 
   [in] BSTR bsName,
 
   [in] BSTR bsName,
Line 10: Line 11:
 
</source>
 
</source>
  
'''Parameters:'''
+
==Parameters:==
{|
+
<pre>
|-
+
bsName Name of Property
|bsName
+
bsValue Value for property
|Name of Property
+
</pre>
|-
+
|bsValue
+
|Value for property.
+
|}
+
  
''Returns:''
+
==Returns:==
{|
+
<pre>
|S_OK
+
S_OK           Property values is set
|Property values is set
+
E_INVALIDARG   Property with name bsName not found
|-
+
E_FAIL         Some error.
|E_INVALIDARG  
+
</pre>
|Property with name bsName not found
+
|-
+
|E_FAIL
+
|Error in property value.
+
|}
+
  
 
[[Category:IAVProperties]]
 
[[Category:IAVProperties]]

Latest revision as of 13:25, 8 July 2014

This page is a copy of the original page on the AVObjects' web site and can also be viewed here.

Set value bsValue for the property bsName

HRESULT PropsSet(
   [in] BSTR bsName,
   [in] BSTR bsValue
   );

Parameters:

bsName  Name of Property
bsValue Value for property

Returns:

S_OK           Property values is set
E_INVALIDARG   Property with name bsName not found
E_FAIL         Some error.
Personal tools