Microsoft.Protocols.TestSuites.MS_OXCROPS.TestSuiteBase.GetStatePropertyByIds C# (CSharp) Method

GetStatePropertyByIds() protected method

Initialize StateProperty from property id and property type id.
protected GetStatePropertyByIds ( ushort propertyId, ushort propertyTypeId ) : uint
propertyId ushort Property id
propertyTypeId ushort Property type id
return uint
        protected uint GetStatePropertyByIds(ushort propertyId, ushort propertyTypeId)
        {
            // propertyId and propertyTypId should be joined up. So propertyId should be move left 16 positions for propertyTypeID.
            return (uint)((propertyId << 16) | propertyTypeId);
        }