共用方式為


SharedDataItem Class

 

Represents a single item of data that is shared between a primary snap-in and an extension snap-in.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ManagementConsole.SharedDataItemBase
    Microsoft.ManagementConsole.SharedDataItem

Syntax

public class SharedDataItem : SharedDataItemBase
public ref class SharedDataItem : SharedDataItemBase
type SharedDataItem = 
    class
        inherit SharedDataItemBase
    end
Public Class SharedDataItem
    Inherits SharedDataItemBase

Constructors

Name Description
System_CAPS_pubmethod SharedDataItem(String)

Initializes a new instance of the SharedDataItem class with the specified clipboard format.

Properties

Name Description
System_CAPS_pubproperty ClipboardFormatId

Gets the string that specifies the clipboard format for the data item. (Inherited from SharedDataItemBase.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetData()

Gets the data of the SharedDataItem object. (Overrides SharedDataItemBase.GetData().)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod RequestDataUpdate(Byte[])

Requests the primary snap-in to update the data of the SharedDataItem object.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

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

See Also

Microsoft.ManagementConsole Namespace

Return to top