public void SetBytes()

in src/main/csharp/MessageProperties.cs [426:443]


		public void SetBytes(string key, byte[] value, int offset, int length)
		{
			try
			{
				byte[] byteSection = new byte[length];

				for(int srcIndex = offset, destIndex = 0; srcIndex < (offset + length); srcIndex++, destIndex++)
				{
					byteSection[destIndex] = value[srcIndex];
				}

				this.xmsMessage.SetBytesProperty(key, byteSection);
			}
			catch(Exception ex)
			{
				ExceptionUtil.WrapAndThrowNMSException(ex);
			}
		}