次の方法で共有


getProperty Method (IXMLDOMSelection) (Windows Embedded CE 6.0)

1/6/2010

Returns a property.

Script Syntax

            strValue = objXMLDOMSelection.getProperty(name);

Remarks

Ee503436.collapse(en-US,WinEmbedded.60).gifScript Parameters

  • name
    String name of the property. This name is case-sensitive.

Ee503436.collapse(en-US,WinEmbedded.60).gifScript Return Value

Value. Returns the value for the internal SelectionLanguage property.

Ee503436.collapse(en-US,WinEmbedded.60).gifC/C++ Syntax

HRESULT getProperty(
  BSTR name,
  VARIANT* value
);

Remarks

Ee503436.collapse(en-US,WinEmbedded.60).gifC/C++ Parameters

  • name
    [in] String name of the property. This name is case-sensitive.
  • value
    [out, retval] Variant return value of the requested property.

Ee503436.collapse(en-US,WinEmbedded.60).gifC/C++ Return Values

  • S_OK
    Value returned if method successful.
  • E_INVALIDARG
    Value returned if named property does not exist.

Ee503436.collapse(en-US,WinEmbedded.60).gifRequirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

The getProperty method returns the value for the internal SelectionLanguage property (flag) that was set by calling the setProperty Method on the document or the default value.

This method applies to the following objects and interfaces:

IXMLDOMSelection

See Also

Reference

XML DOM Methods

Other Resources