Microsoft.ManagementConsole.Internal.PasteTargetInfo.GetAllowedClipboardFormats C# (CSharp) Méthode

GetAllowedClipboardFormats() public méthode

public GetAllowedClipboardFormats ( ) : string[]
Résultat string[]
        public string[] GetAllowedClipboardFormats()
        {
            return this._allowedClipboardFormats;
        }

Usage Example

 private void WriteNextPasteTargetInfo(PasteTargetInfo obj)
 {
     this._NodeData_PasteTargetInfo_DefaultDragAndDropVerb[this._currentIndex] = (int) obj.DefaultDragAndDropVerb;
     string[] allowedClipboardFormats = obj.GetAllowedClipboardFormats();
     int length = -1;
     if (allowedClipboardFormats != null)
     {
         length = allowedClipboardFormats.Length;
         int index = 0;
         for (index = 0; index < length; index++)
         {
             this.WriteString(allowedClipboardFormats[index]);
         }
     }
     this._NodeData_PasteTargetInfo_AllowedClipboardFormats_Count[this._currentIndex] = length;
 }