Compartilhar via


ConsoleParentNode.SetClipboardFormats Method

Sets the clipboard formats for items that are pasted onto the console parent node.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim restrictedClipboardFormats As List(Of String)
Dim unrestrictedClipboardFormats As List(Of String)

Me.SetClipboardFormats(restrictedClipboardFormats, unrestrictedClipboardFormats)

Syntax

'Declaration
Protected Sub SetClipboardFormats ( _
    restrictedClipboardFormats As List(Of String), _
    unrestrictedClipboardFormats As List(Of String) _
)
protected void SetClipboardFormats (
    List<string> restrictedClipboardFormats,
    List<string> unrestrictedClipboardFormats
)
protected:
void SetClipboardFormats (
    List<String^>^ restrictedClipboardFormats, 
    List<String^>^ unrestrictedClipboardFormats
)
protected void SetClipboardFormats (
    List<String> restrictedClipboardFormats, 
    List<String> unrestrictedClipboardFormats
)
protected function SetClipboardFormats (
    restrictedClipboardFormats : List<String>, 
    unrestrictedClipboardFormats : List<String>
)

Parameters

  • restrictedClipboardFormats
    [in] System.Collections.Generic.List object that represents restricted formats.
  • unrestrictedClipboardFormats
    [in] System.Collections.Generic.List object that represents unrestricted formats.

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.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ConsoleParentNode Class
ConsoleParentNode Members
Microsoft.ConfigurationManagement.AdminConsole Namespace