Export (0) Print
Expand All

UccPropertyCollection Class

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Represents a co-creatable class for a collection of properties supported by other Unified Communications Client API entities. The class can be co-created.

Namespace: Microsoft.Office.Interop.UccApi
Assembly: Microsoft.Office.Interop.UccApi (in microsoft.office.interop.uccapi.dll)

public class UccPropertyCollection
public class UccPropertyCollection
public class UccPropertyCollection

This class implements the IUccPropertyCollection, IUccReadOnlyPropertyCollection, and IUccCollection interfaces. The default interface is IUccPropertyCollection. An application obtains the default interface on the class instance directly. Non-default interfaces, if any, can be obtained by calling QueryInterface on the default interface. This class can be co-created.

Win32 COM/C++ Syntax

coclass UccPropertyCollection
{
   [default] interface IUccPropertyCollection;
   interface IUccReadOnlyPropertyCollection;
   interface IUccCollection;
};

System.Object
  Microsoft.Office.Interop.UccApi.UccPropertyCollection

The following example creates a new instance of UccPropertyCollectionClass and returns a reference to the default interface of the class. The passed property name string and value object are added as a property of the new collection.

private UccPropertyCollection MakeNewPropertyCollectionClass(
   string propertyName,
   object propertyValue)
{
   UccPropertyCollection returnValue;
   returnValue = new UccPropertyCollectionClass();
   returnValue.AddNamedProperty(propertyName, propertyValue);
   return returnValue;
}

All public static (Shared in Visual Basic) members of this type are thread-safe. Instance members are not guaranteed to be thread-safe.

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2000 with Service Pack 4, Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Show:
© 2014 Microsoft