亜音速無効にSystem.Byteに可能System.Int32からキャスト[]
-
22-09-2019 - |
質問
亜音速2.2がエラーを投げている
subsonic Invalid cast from System.Int32 to System.Byte[]
私は次のことを行うと、
If template.Content Is Nothing Then
MsgBox("Blank Document")
Else
MsgBox("Document Present")
End If
「テンプレート」は、それの「内容」欄にはByte型であるの亜音速のオブジェクトである()
この
なぜ解決
亜音速のオブジェクトが間違って初期化されました。
ソリューション
Dim template as New TemplateDocument(Guid.NewID()) with {.content = Nothing}
所属していません StackOverflow