ConfigMgrFileCollectionMessage.AddFileBytesToCollection Method (FileInfo, Byte[])
Adds a byte stream as a file to the collection.
Namespace: Microsoft.ConfigurationManagement.Messaging.Messages
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public void AddFileBytesToCollection(
FileInfo fileInfo,
byte[] fileBytes
)
public:
void AddFileBytesToCollection(
FileInfo^ fileInfo,
array<unsigned char>^ fileBytes
)
Public Sub AddFileBytesToCollection (
fileInfo As FileInfo,
fileBytes As Byte()
)
Parameters
fileInfo
Type: System.IO.FileInfoFile information.
fileBytes
Type: System.Byte[]File byte array.
See Also
ConfigMgrFileCollectionMessage Class
Microsoft.ConfigurationManagement.Messaging.Messages Namespace
Return to top