要求されたリソースとその MIME の種類を返します。
名前空間: Microsoft.ReportingServices.ReportRendering
アセンブリ: Microsoft.ReportingServices.ProcessingCore (Microsoft.ReportingServices.ProcessingCore.dll)
構文
'宣言
Public Function GetResource ( _
resourcePath As String, _
<OutAttribute> ByRef resource As Byte(), _
<OutAttribute> ByRef mimeType As String _
) As Boolean
'使用
Dim instance As Report
Dim resourcePath As String
Dim resource As Byte()
Dim mimeType As String
Dim returnValue As Boolean
returnValue = instance.GetResource(resourcePath, _
resource, mimeType)
public bool GetResource(
string resourcePath,
out byte[] resource,
out string mimeType
)
public:
bool GetResource(
String^ resourcePath,
[OutAttribute] array<unsigned char>^% resource,
[OutAttribute] String^% mimeType
)
member GetResource :
resourcePath:string *
resource:byte[] byref *
mimeType:string byref -> bool
public function GetResource(
resourcePath : String,
resource : byte[],
mimeType : String
) : boolean
パラメーター
- resourcePath
型: System.String
取得するリソースのパスです。
- resource
型: array<System.Byte[]%
[out] リソースを格納するバイト配列です。
- mimeType
型: System.String%
リソースの MIME の種類を表す String です。
戻り値
型: System.Boolean
リソースの取得が成功したかどうかを示す Boolean 値です。