ObjectId Constructor (ObjectId)

Creates a new instance of the object which is a copy of the argument.

Namespace:  Microsoft.SmartDevice.Connectivity
Assembly:  Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)

Syntax

'Declaration
Public Sub New ( _
    objId As ObjectId _
)
'Usage
Dim objId As ObjectId 

Dim instance As New ObjectId(objId)
public ObjectId(
    ObjectId objId
)
public:
ObjectId(
    ObjectId^ objId
)
public function ObjectId(
    objId : ObjectId
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

id is nulla null reference (Nothing in Visual Basic).

ArgumentException

Length of id is zero.

.NET Framework Security

See Also

Reference

ObjectId Class

ObjectId Members

ObjectId Overload

Microsoft.SmartDevice.Connectivity Namespace