Partager via


ObjectContent.ObjectType Property

Gets the type of object managed by this ObjectContent instance.

Namespace:  System.Net.Http
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public Property ObjectType As Type
    Get
    Private Set
'Usage
Dim instance As ObjectContent
Dim value As Type

value = instance.ObjectType
public Type ObjectType { get; private set; }
public:
property Type^ ObjectType {
    Type^ get ();
    private: void set (Type^ value);
}
member ObjectType : Type with get, private set
function get ObjectType () : Type
private function set ObjectType (value : Type)

Property Value

Type: System.Type
The object type.

See Also

Reference

ObjectContent Class

System.Net.Http Namespace