DataServiceProviderMethods.Convert(Object, ResourceType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Casts a value to a specified type.
public:
static System::Object ^ Convert(System::Object ^ value, System::Data::Services::Providers::ResourceType ^ type);
public static object Convert(object value, System.Data.Services.Providers.ResourceType type);
static member Convert : obj * System.Data.Services.Providers.ResourceType -> obj
Public Shared Function Convert (value As Object, type As ResourceType) As Object
Parameters
- value
- Object
The value to cast to the requested type
.
- type
- ResourceType
Resource type for which to check.
Returns
The value
cast to the requested type
.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา