IMobileMediaService.GetPhoto Method
[IMobileMediaService.GetPhoto is no longer available for use as of Windows Server 2012 Essentials.] Gets the photo that is represented by the specified photo ID.
Namespace: Microsoft.WindowsServerSolutions.Mobile.Web.Media
Assembly: MobileWeb (in MobileWeb.dll)
Usage
'Usage
Dim instance As IMobileMediaService
Dim id As String
Dim isOriginalData As String
Dim widthData As String
Dim heightData As String
Dim returnValue As Stream
returnValue = instance.GetPhoto(id, isOriginalData, widthData, heightData)
Syntax
'Declaration
<OperationContractAttribute> _
Function GetPhoto ( _
id As String, _
isOriginalData As String, _
widthData As String, _
heightData As String _
) As Stream
[OperationContractAttribute]
Stream GetPhoto (
string id,
string isOriginalData,
string widthData,
string heightData
)
[OperationContractAttribute]
Stream^ GetPhoto (
String^ id,
String^ isOriginalData,
String^ widthData,
String^ heightData
)
/** @attribute OperationContractAttribute() */
Stream GetPhoto (
String id,
String isOriginalData,
String widthData,
String heightData
)
OperationContractAttribute
function GetPhoto (
id : String,
isOriginalData : String,
widthData : String,
heightData : String
) : Stream
Parameters
- id
Specifies the photo ID.
- isOriginalData
Specifies whether the original photo is required. true if the original photo is required; otherwise, false.
- widthData
If isOriginalData is false, specifies the suggested width of the resized photo. If isOriginalData is true, widthData is ignored.
- heightData
If isOriginalData is false, specifies the suggested height of the resized photo. If isOriginalData is true, heightData is ignored.
Return Value
Returns Stream.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64
See Also
Reference
IMobileMediaService Interface
IMobileMediaService Members
Microsoft.WindowsServerSolutions.Mobile.Web.Media Namespace
Copyright © 2012 by Microsoft Corporation. All rights reserved.