Extension Property (DefaultPropertiesToSend)
Gets or sets additional information associated with the message.
Syntax
'Declaration <MessagingDescriptionAttribute("Provides a place to put additional application-defined information that is associated with the message.")> <EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.ComponentModel.Design.ArrayEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> Public Property Extension As Byte()
'Usage Dim instance As DefaultPropertiesToSend Dim value() As Byte instance.Extension = value value = instance.Extension
[MessagingDescription("Provides a place to put additional application-defined information that is associated with the message.")] [Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.ComponentModel.Design.ArrayEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] public byte[] Extension {get; set;}
[MessagingDescription("Provides a place to put additional application-defined information that is associated with the message.")] [Editor(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.ComponentModel.Design.ArrayEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] public: property array<byte>^ Extension { array<byte>^ get(); void set ( array<byte>^ value); }
Property Value
An array of bytes that provides additional, application-defined information associated with the message. The default is a zero-length array.Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also