This document is archived and information here might be outdated.  Recommended version.


INameFactory.PackageNames Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

INameFactory.PackageNames Method

Packages the set of names into a VARIANT (typically for initiating a drag operation).

[Visual Basic .NET]
Public Function PackageNames ( _
    ByVal names As IEnumName _
) As Object
[C#]
public object PackageNames (
    IEnumName names
);
[C++]
HRESULT PackageNames(
  IEnumName* names,
  VARIANT* bytesArray
);
[C++]

Parameters names [in]
names is a parameter of type IEnumName bytesArray [out, retval] bytesArray is a parameter of type VARIANT

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The PackageNames method packages a set of Name objects into a VARIANT. This is typically used to package data objects when starting a custom drag operation.

See Also

INameFactory Interface