Skip to content

Latest commit

 

History

History
110 lines (76 loc) · 4.26 KB

nf-mmc-inodeproperties-getproperty.md

File metadata and controls

110 lines (76 loc) · 4.26 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:mmc.INodeProperties.GetProperty
INodeProperties::GetProperty (mmc.h)
The GetProperty method retrieves text-only property values for a node. Your implementation of the INodeProperties::GetProperty method is called when an application based on the MMC 2.0 Automation Object Model retrieves the Node.Property property.
GetProperty
GetProperty method [MMC]
GetProperty method [MMC]
INodeProperties interface
INodeProperties interface [MMC]
GetProperty method
INodeProperties.GetProperty
INodeProperties::GetProperty
_slate_inodeproperties_getproperty
mmc.inodeproperties_getproperty
mmc/INodeProperties::GetProperty
mmc\inodeproperties_getproperty.htm
mmc
e891428a-c0a1-4451-aa69-c0a4a3d09078
12/05/2018
GetProperty, GetProperty method [MMC], GetProperty method [MMC],INodeProperties interface, INodeProperties interface [MMC],GetProperty method, INodeProperties.GetProperty, INodeProperties::GetProperty, _slate_inodeproperties_getproperty, mmc.inodeproperties_getproperty, mmc/INodeProperties::GetProperty
mmc.h
Windows
Windows Vista
Windows Server 2008
Windows
19H1
INodeProperties::GetProperty
mmc/INodeProperties::GetProperty
c++
APIRef
kbSyntax
COM
Mmc.h
INodeProperties.GetProperty

INodeProperties::GetProperty

-description

The GetProperty method retrieves text-only property values for a node. Your implementation of the INodeProperties::GetProperty method is called when an application based on the MMC 2.0 Automation Object Model retrieves the Node.Property property.

-parameters

-param pDataObject [in]

A pointer to the snap-in data object.

-param szPropertyName [in]

The name of the property retrieved.

-param pbstrProperty [out]

Text value for the property.

-returns

The snap-in returns S_OK if it provides the property value when this method is called. If the snap-in returns S_FALSE, then the data object is queried for the property value.

-remarks

The Extended View extension uses two properties: CCF_DESCRIPTION and CCF_HTML_DETAILS. As an alternative to supplying values for these properties using the data object to query the CCF_DESCRIPTION and CCF_HTML_DETAILS clipboard formats, a snap-in can use INodeProperties::GetProperty to return the property values to the Extended View. This alternative is beneficial in situations where a snap-in's data object does not provide the desired information.

In addition to providing CCF_DESCRIPTION and CCF_HTML_DETAILS property values, a snap-in can use INodeProperties to provide values for other text-based properties (for example, with a new view extension).

For more information and a code example for INodeProperties::GetProperty, see Using the Extended View Extension - Implementation Details.

-see-also

CCF_DESCRIPTION

CCF_HTML_DETAILS

Node

Node.Property

Using the Extended View Extension

Using the Extended View Extension - Implementation Details