IUISimplePropertySet interface (Windows)

Switch View :
ScriptFree
IUISimplePropertySet interface

Applies to: desktop apps only

IUISimplePropertySet is a read-only interface that defines a method for retrieving the value identified by a property key. This interface is implemented by the Windows Ribbon framework and is also implemented by the host application for each item in the IUICollection object of an item gallery.

When implemented by the host application, the method defined by this interface is used to retrieve a property key value for the selected item in the IUICollection.

Members

The IUISimplePropertySet interface inherits from the IUnknown interface. IUISimplePropertySet also has these types of members:

Methods

The IUISimplePropertySet interface has these methods.

MethodDescription
GetValue

Retrieves the value identified by a property key.

 

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008

Header

Uiribbon.h

IDL

Uiribbon.idl

DLL

Uiribbon.dll

See also

Working with Galleries
Property Keys
Windows Ribbon Framework Samples

 

 

Send comments about this topic to Microsoft

Build date: 2/15/2012

Community Content

transwikimoderator
C# Syntax

  
// Simple property bag

[ComImport]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("c205bb48-5b1c-4219-a106-15bd0a5f24e2")]
public interface IUISimplePropertySet
{
// Retrieves the stored value of a given property
[PreserveSig]
HRESULT GetValue([In] ref PropertyKey key, [Out()] out PropVariant value);
}